home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / dcom344.zip / DCOM.DOC < prev    next >
Text File  |  1989-10-03  |  392KB  |  8,928 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.      Information in  this document  is subject  to change  without  notice.
  8.      Neither the  owner or  distributors  make  any  expressed  or  implied
  9.      warranties with  regard to  this software,  including merchantability,
  10.      applicability  for   any  purpose   or  non-infringement  of  patents,
  11.      copyrights or  other proprietary  rights of  others.  This software is
  12.      provided "as is" without warranty of any kind.
  13.  
  14.      In no  event will  the owner  or distributors be liable to you for any
  15.      damages, including  any lost profits, lost savings or other incidental
  16.      or consequential  damages arising  out of  the use or inability to use
  17.      this software.
  18.  
  19.      dCOM is not, nor has it ever been, public domain or free software.  It
  20.      is distributed  in two  forms:   1) under  the User Supported software
  21.      concept (Shareware)  or,   2) in  pre-paid form  complete with typeset
  22.      documentation, quick  reference cards,  and user  registration.   Non-
  23.      registered users of dCOM are granted a limited license to use dCOM for
  24.      a trial  period, in  order to  determine if it suits their needs.  Any
  25.      other use of dCOM or use past this period, requires registration.  All
  26.      users are  granted a limited license to copy dCOM only for the purpose
  27.      of allowing  others to  try it,  subject to  the above restrictions as
  28.      well as  these:   1) dCOM must be distributed in absolutely unmodified
  29.      form, including  ALL program  files, documentation  files,  and  other
  30.      files.  dCOM may not be included with any other product for any reason
  31.      whatsoever without  a license  from DAC  Micro Systems.   No charge or
  32.      payment may  be levied or accepted for dCOM (except that recovered for
  33.      media costs).
  34.  
  35.      Bulletin Board  system operators  may  post  dCOM  on  their  BBS  for
  36.      downloading by  their users  without written  permission only  if  the
  37.      above conditions  are met,  and only if no special fee is necessary to
  38.      access the dCOM files (a general fee to access the BBS is ok).
  39.  
  40.      Registering dCOM allows you to use the product after the trial period.
  41.      Registered dCOM  users get  mailed notification  of dCOM  updates  and
  42.      priority when  calling  the  dCOM  Support  BBS.    Most  importantly,
  43.      registered users  know they are helping to make sure that high-quality
  44.      software like  dCOM can  continue to  be distributed  in this low-cost
  45.      manner.   For more  information on  ordering, refer  to the ORDERS.DOC
  46.      file included  with this  package or,  call the dCOM Support Board for
  47.      on-line ordering.
  48.  
  49.      All DAC Micro Systems products are trademarks or registered trademarks
  50.      of DAC Micro Systems.  Other brand and product names are trademarks or
  51.      registered trademarks of their respective holders.
  52.  
  53.  
  54.  
  55.                                DAC Micro Systems
  56.                                 40941 176th St E
  57.                               Lancaster, CA  93535
  58.                               Voice: 805/264-1700
  59.                                Data: 805/264-1219
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                                 ACKNOWLEDGEMENTSACKNOWLEDGEMENTS
  68.  
  69.      There  have   been  many  fine  people  who  have  contributed  ideas,
  70.      suggestions, time,  and support through the many phases and iterations
  71.      of dCOM's development - and it would be nice to mention all of them by
  72.      name.  However, the list has grown too long to fit on one page, and is
  73.      probably a bit more than what the average user cares to read.
  74.  
  75.      So, I  will just  leave it that I am most thankful for the individuals
  76.      that have  worked with  me through  all the  beta  versions,  for  the
  77.      individuals that  would call  for an  upgrade after  hearing  a  minor
  78.      change had  been made,  for the  individuals who  played the  role  of
  79.      devil's advocate  (developers who would rather hear superficial praise
  80.      instead of  what can  be the  cold  harsh  reality  are  only  fooling
  81.      themselves), for  the individuals  that would  bring the  most  minute
  82.      inconsistency to  my attention,  and for  the individuals  that worked
  83.      with me time after time in testing dCOM on equipment not readily at my
  84.      disposal, until we got it right.
  85.  
  86.      Additionally,  I  would  also  like  to  credit  this  excellent  word
  87.      processor,  Microsoft Word.
  88.  
  89.      And not least, to the good Lord for any talents that may be apparent.
  90.  
  91.  
  92.                                                                Dave Frailey
  93.                                                               Lancaster, CA
  94.                                                                October 1989
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                                        iiii
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.                                     PREFACEPREFACE
  132.  
  133.      As with most fine things in life, they didn't just evolve or happen as
  134.      the result  of a  big bang.  The collective research, development, and
  135.      design represented  in dCOM  amounts to  tens of thousands of hours of
  136.      hard work.   Please remember this and how you would feel the next time
  137.      you have an urge to illegally make a copy of some software.
  138.  
  139.      Generically, MS-DOS  would have  you seated  behind the  wheel with no
  140.      instrumentation, no daylight, and no headlights.  In response, quite a
  141.      number of  DOS Shells  and DOS  Utilities have  materialized over  the
  142.      years.   A lot of them however, have only succeeded in tainting many a
  143.      good user  against DOS  Shells.   Lest we  forget, a  DOS Shell should
  144.      reduce keystrokes, not impose an overwhelming variety of uncorrelating
  145.      commands and  sub-menus that  take 200  lumens of  brain  activity  to
  146.      remember.   If nothing  else, please  set  aside  any  previous  bias'
  147.      concerning DOS Shells.
  148.  
  149.      For the  novice dCOM  provides a  simple way  to learn  and use a hard
  150.      disk.   For the  hacker, there  is no  end to  the  undying  need  for
  151.      flexibility and  sophistication.   For the  programmer,  there  is  no
  152.      greater development  tool than  the programmable  macro keys  and high
  153.      powered text editor.
  154.  
  155.      The initial  concept of dCOM was to provide the hard disk user with an
  156.      aesthetically quick,  convenient, non-cumbersome  means with  which to
  157.      "get  around"  subdirectory  structures,  run  programs,  and  perform
  158.      housekeeping chores.   Throughout  its evolvement,  this  concept  has
  159.      remained intact  and uncluttered, enhancement after enhancement.  dCOM
  160.      is still a window into your hard disk, capable of changing directories
  161.      and running  programs quicker  than you can say Jack be Nimble.  This,
  162.      however, is only where it begins....
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                                       iiiiii
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                     FEATURESFEATURES
  196.  
  197.      o    Tag files  for block  copying,  moving,  deleting,  printing,  or
  198.           attribute changing.   Copying can span multiple target diskettes.
  199.           Optional caching  for floppy accesses to track 0 improves copying
  200.           to floppy disks by as much as seven times.
  201.  
  202.      o    A variety  of directory  sort modes including one with executable
  203.           files first.   Optionally  see hidden and system files (which can
  204.           be  protected   with  an  access  password).    Hide  and  rename
  205.           subdirectory names.
  206.  
  207.      o    Change directories and run programs just using the keypad.
  208.  
  209.      o    A Command  Set that  correlates with functionality and is easy to
  210.           learn and use.
  211.  
  212.      o    High-powered macro  keys that  are programmed  similarly to batch
  213.           files and  are automatically compiled and "tokenized" to a memory
  214.           buffer for  instantaneous response  times and  efficient  use  of
  215.           memory.   All batch  commands are  supported plus  an  additional
  216.           subset of  commands like  nestable IF blocks, DO blocks, looping,
  217.           etc....
  218.  
  219.      o    Extensive menuing systems can be built using the macro keys.  The
  220.           menu mode  can be  configured to  pop-up automatically  and fully
  221.           supports password  protection for each selection or for access to
  222.           dCOM's utility  functions.   The powerful  macro command set lets
  223.           you build  menu selections which can even display a menu of files
  224.           to select from before running a program.
  225.  
  226.      o    A high-performance, full-feature, multi-window, multi-buffer text
  227.           editor with  PC line  drawing and enhanced video options.  Buffer
  228.           sizes are limited only by available memory.
  229.  
  230.      o    A powerful  visual tree  which is  fully mouse  driven.  Copy and
  231.           move actions  can easily invoke the tree for use in selecting the
  232.           destination drive and directory.
  233.  
  234.      o    Full Mouse support.  Most file-oriented commands can be performed
  235.           totally with the mouse.
  236.  
  237.      o    Fully configurable  color (snow  inhibited automatically  on CGA)
  238.           with support for EGA/VGA extended colors.
  239.  
  240.      o    File  extensions  other  than  COM,  EXE,  or  BAT  can  also  be
  241.           configured as  executable  by  having  another  program  run  and
  242.           passing it the selected filename.
  243.  
  244.      o    A high-performance,  resizeable print  spooler with  hot-keys for
  245.           clearing the  spooler's buffer,  sending form-feeds,  and sending
  246.           line-feeds to the printer.  Printer output for the system and the
  247.  
  248.  
  249.  
  250.  
  251.                                        iviv
  252.  
  253.  
  254.  
  255.  
  256.           spooler is easily redirected to another LPT port or a COM (RS232)
  257.           port.
  258.  
  259.      o    The keypad  "+" key  can be  configured to  emulate a Return key,
  260.           which can be toggled on-the-fly with a hot-key.
  261.  
  262.      o    A Screen Saver configurable from 1 to 59 minutes, which is mouse-
  263.           sensitive.
  264.  
  265.      o    A hot-key  that blanks the screen and locks the keyboard.  If the
  266.           system password  is active,  it is  required  to  reactivate  the
  267.           screen and keyboard.
  268.  
  269.      o    An extensive  alarm clock  system which  can  hold  38  different
  270.           alarms based on daily or calendar events.
  271.  
  272.      o    An optional  activity log  can keep  track of  every program run,
  273.           when it  started, stopped,  minutes active,  and  any  parameters
  274.           used.
  275.  
  276.      o    dCOM only consumes approx. 50K of conventional memory.
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.                                        vv
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.                                     ContentsContents
  324.  
  325.                ==================================================
  326.  
  327.                PREFACE........................................iii
  328.  
  329.                INTRODUCTION.....................................1
  330.                  Requirements...................................3
  331.                  The Documentation..............................3
  332.                  Term Definitions...............................4
  333.  
  334.                INSTALLATION.....................................5
  335.                  The Home Directory.............................7
  336.  
  337.                RUNNING dCOM.....................................8
  338.                  Command Line Switches..........................9
  339.                  As the Primary Shell..........................14
  340.                  With MS-DOS Version 2.........................16
  341.                  A Guided Tour.................................17
  342.                  On a Z100.....................................19
  343.                    Color on the Z100...........................20
  344.  
  345.                USING dCOM......................................22
  346.                  Hot-Keys......................................23
  347.                  With a Mouse..................................25
  348.                  Prompt Editing................................27
  349.                  TSR Programs..................................28
  350.                  Critical Errors...............................30
  351.                  Encountering Trouble..........................31
  352.  
  353.                THE UTILITY MODE................................33
  354.                  Tagging Files.................................35
  355.                  Extension Execute.............................37
  356.                  Screen Layout.................................39
  357.                  Quick Reference...............................41
  358.                  Command Reference.............................42
  359.                  Configuration Menu............................53
  360.                    Colors......................................59
  361.                    Mouse.......................................61
  362.                    Disk Drive Override Table...................62
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.                                        vivi
  380.  
  381.  
  382.  
  383.  
  384.                THE VISUAL TREE.................................63
  385.                  Using the Tree With Copy or Move..............64
  386.                  Using The Tree - General Use..................65
  387.  
  388.                PRINT SYSTEM & SPOOLER..........................66
  389.                  Menu..........................................68
  390.  
  391.                THE ALARM/EVENT MENU............................72
  392.  
  393.                THE MACRO KEYS..................................73
  394.                  General Use...................................74
  395.                  Editing.......................................76
  396.                  File Format...................................78
  397.                  Title Line Switches...........................80
  398.                  Commands Quick Reference......................81
  399.                  Variables Quick Reference.....................82
  400.                  Command Reference.............................83
  401.                  Variable Reference............................94
  402.                  Examples......................................99
  403.                  Technical Tricks.............................107
  404.  
  405.                MENUING........................................109
  406.                  Security.....................................111
  407.  
  408.                THE TEXT EDITOR................................112
  409.                  General Use..................................113
  410.                  Windows and Buffers..........................115
  411.                  Marked Blocks................................116
  412.                  Copying/Moving...............................117
  413.                  Screen Layout................................118
  414.                  Quick Reference..............................119
  415.                  Command Reference............................120
  416.                  Configuration Menu...........................125
  417.  
  418.                TECHNICAL DISCUSSIONS..........................127
  419.  
  420.                AUTHOR.........................................128
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.                                       viivii
  444.  
  445.                                                                Introduction
  446.      ----------------------------------------------------------------------
  447.  
  448.  
  449.  
  450.                                   INTRODUCTIONINTRODUCTION
  451.  
  452.      ======================================================================
  453.      dCOM is a full-screen, high-performance, interactive DOS Shell and DOS
  454.      Utility.  You can change directories, sort directories, execute, edit,
  455.      print, copy,  move, rename  and delete files with a single correlating
  456.      keystroke.   You can  selectively  tag  files  to  be  copied,  moved,
  457.      deleted, or  printed.  Entire directory contents can be copied, moved,
  458.      and deleted.   Subdirectories can be renamed or hidden.  And, the copy
  459.      command has  the capability to span several destination diskettes when
  460.      multiple files are involved.
  461.  
  462.      Directories can be sorted in many different ways.  One puts all of the
  463.      executable files  in alphabetical  order, right  up front  before  the
  464.      other files  that you wouldn't be interested in if you wanted to run a
  465.      program.   Another categorizes  your files  based on their extensions.
  466.      And of  course, the  standard sorts on date/time or size, in ascending
  467.      or descending  order.   Hidden and  system files can also be seen with
  468.      the touch of a key.
  469.  
  470.      dCOM's user-interface  provides you with a command set that correlates
  471.      with functionality,  making it  easy  to  learn  and  remember.    All
  472.      destructive commands prompt for confirmation first before proceeding.
  473.  
  474.      dCOM features  an extremely flexible and powerful macro (function) key
  475.      facility.   The macro keys are programmed in a manner similar to batch
  476.      files and  are memory  resident,  providing  instantaneous  responses.
  477.      But, unlike  other shells,  they do not use temporary batch files, nor
  478.      do they  invoke a  second copy of COMMAND.COM (unless programmed to do
  479.      so, or  a resident DOS command is used).  With the macro keys, you can
  480.      program dCOM  to  perform  any  of  your  most  commonly  used  MS-DOS
  481.      commands, change  directories, run  programs, compile source code, and
  482.      more....   You can  also use the macro keys to build extensive menuing
  483.      systems.
  484.  
  485.      dCOM also  includes a high-powered print spooler which tunes itself to
  486.      your computer and printer, and can be resized or disabled at will.  It
  487.      is supported  with a  hot-key that  will clear  its contents  and  any
  488.      internal buffer in the printer.  When its output is configured to talk
  489.      directly with  the printer  port, CPS  rates exceeding  5200 have been
  490.      noted during graphics or font downloads to a laser printer.
  491.  
  492.      Fully configurable  mouse support is built-in.  With the mouse you can
  493.      perform almost  all of  your normal  file-oriented functions  such  as
  494.      copying or  deleting files.   You  can also  use the  mouse to  change
  495.      directories, run  programs, execute  macro keys, and invoke the visual
  496.      tree.
  497.  
  498.      dCOM sports  a full-screen,  full-featured, multi-window, multi-buffer
  499.      text editor  which out-performs  editors twice  the size  of dCOM.  No
  500.      other editor  loads, saves,  or searches faster.  This editor searches
  501.      case-insensitive as  much as  twice as  fast as editors that are case-
  502.      sensitive.   In a  development atmosphere,  the macro  keys  and  text
  503.      editor become a tool that soon becomes a necessity.
  504.  
  505.  
  506.  
  507.                                        11
  508.  
  509.                                                                Introduction
  510.      ----------------------------------------------------------------------
  511.  
  512.      dCOM is  also available  in a  Zenith Z100  version.   There are  some
  513.      features mentioned in this documentation that are not supported in the
  514.      Z100 version, most notably are the print spooler and the hot-keys.  If
  515.      you are  an IBM  user, please disregard the occasional references made
  516.      concerning the dissimilarities.
  517.  
  518.      If you are inclined to think that since we have gone out of our way to
  519.      support two different types of MS-DOS based computers, that dCOM might
  520.      contain some  extraneous code for the machine other than you're using,
  521.      think again.   Each  version  of  dCOM  only  contains  code  for  the
  522.      processor it  was written  for.   Also, each version of dCOM is solely
  523.      written in extremely tight and efficient assembly language.  (For some
  524.      reason, the  author feels like he's buying more code than needed to do
  525.      the job, and somewhat jilted when he pays money for software that ends
  526.      up being  written in  some high-order  language like  BASIC,  Fortran,
  527.      Pascal, or even C.)
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.                                        22
  572.  
  573.                                                                Introduction
  574.      ----------------------------------------------------------------------
  575.  
  576.  
  577.  
  578.  
  579.                                   RequirementsRequirements
  580.  
  581.      IBM compatible  with MDA,  CGA, EGA,  or VGA video.  Or, a Zenith Z100
  582.      series microcomputer,  monochrome or  color.   A good  minimum is 512K
  583.      memory, but dCOM can easily run in 256K.
  584.  
  585.      MS-DOS Version 2.0 or higher.
  586.  
  587.      Expanded Memory  (Lotus/Intel/Microsoft EMS,  Version 3.2  or greater)
  588.      can be  helpful, but  is not  required.   If present,  dCOM uses it in
  589.      several  ways.    The  print  spooler  uses  it  before  resorting  to
  590.      conventional memory  for its  buffer.    And,  whenever  dCOM  runs  a
  591.      program, it will save its working buffers to EMS rather than having to
  592.      leave them in precious conventional memory.  This provides a nice side
  593.      effect with  the Text  Editor because  you can  have it  loaded to the
  594.      gills and  not impact conventional memory when you run a program.  You
  595.      can also configure dCOM to run its transient portion straight from EMM
  596.      (using the  /EMM command line switch), improving performance each time
  597.      you run a program or macro key, but consumes 48K of expanded memory.
  598.  
  599.  
  600.                                The DocumentationThe Documentation
  601.  
  602.      For the  sake of readability and to keep this documentation from being
  603.      dull reading,  there may  be an occasional blurb containing dry humor,
  604.      slang, or  improper English.   If  this seems  unsavory, we  beg  your
  605.      indulgence.
  606.  
  607.      We have  tried to be as comprehensive as possible while still sticking
  608.      to the  essence.   At times,  in an  effort to satisfy the technically
  609.      inclined, we  may go  into a  topic in-depth.    In  which  case,  the
  610.      pertinent information will be described first.
  611.  
  612.      Frequently this  manual will  make use of quotation marks to set-off a
  613.      particular section  of  text.    When  the  use  of  quotes  surrounds
  614.      something meant  to be  typed from  the  keyboard,  do  notdo  not  type  the
  615.      quotation marks.  They are only intended to isolate what would be your
  616.      typed response from the other text comprising this documentation.
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.                                        33
  636.  
  637.                                             Introduction - Term Definitions
  638.      ----------------------------------------------------------------------
  639.  
  640.  
  641.  
  642.  
  643.                                 Term DefinitionsTerm Definitions
  644.  
  645.      FILENAMEFILENAME - Under MS-DOS based computers, filenames are comprised of up
  646.      to  11  possible  characters;  the  first  eight  characters  are  the
  647.      filename, which  are separated  with a  period  from  the  last  three
  648.      characters called  the extension.   By Microsoft's definition filename
  649.      only means the first eight characters; however, it seems that filename
  650.      is more  often used  as slang  for a file's name as a whole, including
  651.      the extension.   Some  common  sense  may  be  required  if  ambiguous
  652.      circumstances are encountered.
  653.  
  654.      DIRECTORYDIRECTORY -  Though it generally refers to a listing of files found on
  655.      a specific  disk or  subdirectory, within  dCOM it  is usually (unless
  656.      explicitly stated otherwise) used to refer to a subdirectory's name.
  657.  
  658.      DRIVE SELECT BOXDRIVE SELECT BOX - Refers to the lower right corner of the screen when
  659.      the utility  mode is active which, if the mouse pointer is moved into,
  660.      will display a set of valid disk drive designations.
  661.  
  662.      ENTRYENTRY or DIRECTORY ENTRYDIRECTORY ENTRY -  Refers to  a  file  or  subdirectory  name
  663.      displayed on the screen that was read from the default drive's current
  664.      directory.
  665.  
  666.      HOME DIRECTORYHOME DIRECTORY - Refers to the drive and directory where you installed
  667.      dCOM.
  668.  
  669.      MENU MODEMENU MODE - Refers to when the macro key menu mode is active, which is
  670.      initially controlled using the  /M or /MP command line switches.
  671.  
  672.      SELECTEDSELECTED -  Refers to the directory entry currently highlighted in the
  673.      utility mode.
  674.  
  675.      SIDEBAR MENUSIDEBAR MENU  - Refers  to the  menu which  runs vertically  along the
  676.      right edge of the utility mode's screen when the mouse is active.
  677.  
  678.      TOGGLETOGGLE -  Refers to  a mode  that can  be  in  either  an  on  or  off
  679.      condition, sometimes  used as  yes or  no.    When  the  command  that
  680.      controls the mode is issued, the current state of the mode is inverted
  681.      (or reversed) causing it to cycle back and forth.
  682.  
  683.      TSRTSR - A program that terminates and stays resident in memory.
  684.  
  685.      UTILITY MODEUTILITY MODE -  Refers to  when dCOM  is in  its  utility  mode  where
  686.      filenames are  displayed and  you can  then copy,  move, delete,  run,
  687.      etc...
  688.  
  689.      WILDCARDSWILDCARDS -  Refers to  the use of the "?" and "*" in a typed response
  690.      for a  filename.   In dCOM,  they function identically to their use in
  691.      regular MS-DOS.
  692.  
  693.      ^^ -  (the caret symbol)  When it prefixes a keyboard key (e.g. ^X), it
  694.      indicates the use of CtrlCtrl with that key (similar to shifting a key).
  695.  
  696.      ss - (lower case S)  Implies the use of shiftshift with that key (e.g. sF1).
  697.  
  698.  
  699.                                        44
  700.  
  701.                                                                Installation
  702.      ----------------------------------------------------------------------
  703.  
  704.  
  705.  
  706.  
  707.                                   INSTALLATIONINSTALLATION
  708.  
  709.      ======================================================================
  710.      Installing dCOM  consists of  making a  subdirectory on your hard disk
  711.      and copying the contents of the distribution disk to it.
  712.  
  713.      This subdirectory  that dCOM is installed in is referred to throughout
  714.      this documentation  as the  Home Directory.   Under  MS-DOS Version 3,
  715.      dCOM automatically determines where the Home Directory is when you run
  716.      it from the path.  Under MS-DOS Version 2, however, you must tell dCOM
  717.      where the  Home Directory  is.   Refer to  The Home Directory for more
  718.      information.
  719.  
  720.      The distribution disk consists of at least the following files:
  721.  
  722.      DCOM.COMDCOM.COM   Initialization and loader.
  723.      DCOM.000DCOM.000   Resident code (IBM).
  724.      DCOMZ.000DCOMZ.000* Resident code (Z100).
  725.      DCOM.001DCOM.001   Transient utility code.
  726.      DCOM.002DCOM.002   Text Editor Overlay.
  727.      DCOM.003DCOM.003   Configuration Overlay.
  728.      DCOM.004DCOM.004   Macro Key Compiler Overlay.
  729.      DCOM.005DCOM.005   Help Overlay.
  730.      DCOM.006DCOM.006   Search Disk Overlay.
  731.      DCOM.007DCOM.007   Visual Tree Overlay.
  732.      DCOM.008DCOM.008   Alarm Overlay.
  733.      VCNV.COMVCNV.COM   Version Convert Program.
  734.      ZIBM.FNTZIBM.FNT*! Alternate IBM Look-alike Screen Font (Z100).
  735.      README.DOCREADME.DOC Contains any errata found in the manual.
  736.      CHANGES.DOCCHANGES.DOC    Contains any changes not in the manual.
  737.  
  738.      * These files may be deleted for use on IBM compatibles.
  739.      ! This file must be renamed to DCOM.FNT before it is recognized.
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.                                        55
  764.  
  765.                                    Installation - Copying the Program Files
  766.      ----------------------------------------------------------------------
  767.  
  768.  
  769.  
  770.  
  771.                     Copying the Program Files to a Hard DiskCopying the Program Files to a Hard Disk
  772.  
  773.      1. Determine where to install dCOM on your hard disk and make a
  774.         subdirectory for it.
  775.         (MD  C:\DCOM).
  776.  
  777.      2. Insert the dCOM distribution diskette in drive A.
  778.  
  779.      3. Copy the distribution files to your hard disk.
  780.         (COPY  A:*.*  C:\DCOM).
  781.  
  782.      Normally it  is desirable  to have  the subdirectory  containing  dCOM
  783.      searched by  the PATH.   This  allows you  to exit  dCOM and  rerun it
  784.      without having to worry about what drive or directory you're currently
  785.      using.   Additionally, you  may also  want your  AUTOEXEC.BAT file  to
  786.      automatically run dCOM when your computer is first turned on.  Both of
  787.      these capabilities are performed by modifying your current copy of the
  788.      AUTOEXEC.BAT file, using a suitable text editor.
  789.  
  790.      Adding dCOM  to the  PATH  is  done  by  locating  the  existing  PATH
  791.      statement (if one doesn't exist, insert a new line containing one) and
  792.      appending the  full pathspec  of the  drive and  directory  where  you
  793.      installed  dCOM   (e.g.  "PATH  C:\DOS;C:\DCOM;C:\DCOM").    Having  dCOM  run
  794.      automatically every time your computer is powered up is done by adding
  795.      a line on the end of AUTOEXEC.BAT that reads "DCOM".
  796.  
  797.      If you  are already running dCOM and want to use its text editor to do
  798.      this, select  the AUTOEXEC.BAT  file and  press "E" to edit it.  After
  799.      you are  done making changes, press Alt-W to save it and Alt-X to exit
  800.      the editor.   To  test changes made to the AUTOEXEC.BAT file, you must
  801.      reboot your computer.
  802.  
  803.      An example of what a AUTOEXEC.BAT file might look like is:
  804.  
  805.           @ECHO  OFF
  806.           PATH  C:\DOS;C:\DCOM;C:\UTILITYS
  807.           SET  DCOM=/E300/T
  808.           DCOM
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.                                        66
  828.  
  829.                                           Installation - The Home Directory
  830.      ----------------------------------------------------------------------
  831.  
  832.  
  833.  
  834.  
  835.                                The Home DirectoryThe Home Directory
  836.  
  837.      As stated  earlier, the  subdirectory that  dCOM is  installed  in  is
  838.      referred to  as the Home Directory.  If you are using MS-DOS Version 3
  839.      or greater,  dCOM automatically determines where the Home Directory is
  840.      and all you need to know is what it means when we refer to it.
  841.  
  842.      If you  are using  a version  of MS-DOS below Version 3, you must tell
  843.      dCOM (by  setting its  environment variable)  where the Home Directory
  844.      is.   If you do not set the environment variable and you run dCOM from
  845.      a different drive or directory then its Home Directory, dCOM will have
  846.      no idea where to find its overlay files and will immediately exit with
  847.      an error message indicating so.
  848.  
  849.      Setting the  environment variable is done using the MS-DOS SET command
  850.      and can  be accomplished  by adding a line in the AUTOEXEC.BAT file as
  851.      follows:    "SET DCOM=pathspec"  (where  pathspec  is  the  drive  and
  852.      subdirectory to  be considered  the Home  Directory).  For example, if
  853.      you had  made a  directory on  drive C  called DCOM, and copied dCOM's
  854.      files into  it, you  would add  this line  in your  AUTOEXEC.BAT  file
  855.      before it runs dCOM:
  856.  
  857.           SET DCOM=C:\DCOMSET DCOM=C:\DCOM
  858.  
  859.      NOTE:   The dCOM  environment variable can also be used to set default
  860.              command line  switches.   If it  is used to hold both the Home
  861.              Directory and  command line  switches, list the Home Directory
  862.              first (i.e. SET DCOM=C:\DCOM /M/E300).
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.                                        77
  892.  
  893.                                                                Running dCOM
  894.      ----------------------------------------------------------------------
  895.  
  896.  
  897.  
  898.  
  899.                                   RUNNING dCOMRUNNING dCOM
  900.  
  901.      ======================================================================
  902.      Running dCOM  is the  same as  running most  other programs.   If  the
  903.      current drive/directory  does not contain DCOM.COM, then you must tell
  904.      MS-DOS where  to find  it or  have the  PATH set to find it in another
  905.      subdirectory.   For instance,  if you installed dCOM in a subdirectory
  906.      on drive  C called "DCOM", and you are now in a different subdirectory
  907.      or at the root directory, you could issue the following to tell MS-DOS
  908.      Version 3 where to find and run dCOM: "\DCOM\DCOM".
  909.  
  910.      NOTE:   As shown  in the example above, MS-DOS Version 3 allows you to
  911.              include a  directory path  when issuing  commands.   On MS-DOS
  912.              Version 2, however, you must change directories first and then
  913.              run the program.
  914.  
  915.      If  the   current  drive   and  directory  contains  DCOM.COM  or  the
  916.      subdirectory holding  dCOM is  included in  the MS-DOS PATH, you would
  917.      simply type: "DCOM" (and press return).
  918.  
  919.      NOTE:   It  may   be  desirable   to  have   the   AUTOEXEC.BAT   file
  920.              automatically run dCOM when your computer is first powered up.
  921.              If so,  add the  necessary command(s)  (described above) after
  922.              the last line of AUTOEXEC.BAT.
  923.  
  924.      If  you  are  using  dCOM  under  DesqView  or  TopView  environments,
  925.      configure them  that dCOM  does not  write directly  to the screen and
  926.      that it  uses its own colors.  Even though dCOM does write directly to
  927.      the screen, it conforms to TopView multi-tasking BIOS protocols.
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.                                        88
  956.  
  957.                                        Running dCOM - Command Line Switches
  958.      ----------------------------------------------------------------------
  959.  
  960.  
  961.  
  962.  
  963.                              Command Line SwitchesCommand Line Switches
  964.  
  965.      Command line  switches are optional parameters that can be provided on
  966.      the command  line when  you run  dCOM.   They control various features
  967.      that dCOM  needs to  know when it initializes itself.  For example, if
  968.      you want  a bigger  environment size than the default (160 bytes), you
  969.      could enter  "DCOM/E300" to  run dCOM  and set the environment size to
  970.      300 bytes.   Multiple  switches can  be given  by appending  one right
  971.      after the other (the use of spaces is optional).
  972.  
  973.      Command line  switches can  also be  given  using  dCOM's  environment
  974.      variable.   Using the  environment variable has the advantage that you
  975.      don't have  to retype the switches every time you exit and rerun dCOM,
  976.      because variables  installed in  the environment  remain in effect and
  977.      intact throughout  your use  of the  computer until another command is
  978.      issued on  the same  level to  change them.    Using  the  environment
  979.      variable also  ensures that  each  time  you  run  dCOM,  it  will  be
  980.      configured the  way you intended.  Setting dCOM's environment variable
  981.      is done  using the MS-DOS SET command and would best be done by adding
  982.      a line in the AUTOEXEC.BAT file before dCOM is run.  For example:
  983.  
  984.           ECHO OFF
  985.           PATH C:\DOS;C:\DCOM
  986.           SET DCOM=/M/E300SET DCOM=/M/E300
  987.           DCOM
  988.  
  989.      If you  are already  using the  environment variable  to set  the Home
  990.      Directory, do  not use  an additional SET command.  Append the command
  991.      line    switches     after     the     Home     Directory     pathspec
  992.      (i.e. SET  DCOM=C:\DCOM /M/E300).
  993.  
  994.      /A/A       Enables an  activity log  of all  programs run  while dCOM is
  995.               resident.   Using this  switch consumes  2k of memory for the
  996.               activity log  buffer (if  EMS is  not  present).    When  the
  997.               activity log  is active,  a file called DCOM.LOG is built and
  998.               updated in  dCOM's Home Directory, containing the date, start
  999.               time, stop  time, minutes  active, full program pathspec, and
  1000.               parameters used.   The  anticipated usefulness of this option
  1001.               is in documenting computer usage.  If you enable this option,
  1002.               some systematic  method of  purging the  log file  should  be
  1003.               implemented on  a weekly  or regular  basis -  its  size  can
  1004.               easily grow to large proportions.
  1005.  
  1006.               You can also write a macro key to log user names into the log
  1007.               file as shown below:
  1008.  
  1009.                [F1] LOG ON
  1010.                :L1
  1011.                GET %1 Enter Your Name:
  1012.                IF %1<=@ GOTO L1
  1013.                ECHO %DT %TI %1>>C:\DCOM\DCOM.LOG
  1014.                GOSUBMF MAIN
  1015.  
  1016.  
  1017.  
  1018.  
  1019.                                        99
  1020.  
  1021.                                        Running dCOM - Command Line Switches
  1022.      ----------------------------------------------------------------------
  1023.  
  1024.               Using this  macro key  would work best if the F1 key were all
  1025.               that was  in the  default macro  file, and  the  /F1  and  /M
  1026.               command line  switches are also used.  The main macro file in
  1027.               the above  example would  then be  MAIN.MAC, which would have
  1028.               all the  normal macro  key (menu)  functions.   Control would
  1029.               return to  the default macro file when a RETURN macro command
  1030.               is encountered  in the MAIN.MAC macro file, or the Esc key is
  1031.               used.   You might also want to prevent unauthorized access to
  1032.               the utility mode by using the /MP switch instead of /M.
  1033.  
  1034.      /E###/E###    Overrides the  default environment  size (usually  160 bytes)
  1035.               with the size specified in bytes following the "/E".  Without
  1036.               specifying this  switch, dCOM creates an environment the same
  1037.               size as  which MS-DOS is using.  When dCOM runs a second copy
  1038.               of COMMAND.COM, it will pass its environment size imbedded in
  1039.               the command  line (which  makes sure  that any  SET  commands
  1040.               issued by  a batch  file have  the same amount of environment
  1041.               space that  dCOM would  have) if the MS-DOS version is 3.2 or
  1042.               greater.   Due to  a little  bit of  technical wizardry, dCOM
  1043.               will pick  up on  changes made  to the  environment when  its
  1044.               using a  second copy  of COMMAND.COM  to run  a  batch  file.
  1045.               dCOM's  environment  size  can  be  viewed  using  the  Alt-V
  1046.               command.
  1047.  
  1048.               Note:     The  macro   key  temporary  variables  (%0  -  %9)
  1049.               temporarily use the environment for storage.  If you use them
  1050.               frequently, you will probably want to use the /E command line
  1051.               switch, making  sure that  there's  at  least  100  bytes  of
  1052.               environment space  available (free) for their use.  Normally,
  1053.               /E300 is a good safe number.
  1054.  
  1055.      /EMM/EMM     Tells dCOM  to load  and run  its transient  portion directly
  1056.               from expanded  memory.   This  reduces  some  of  the  memory
  1057.               overhead  in   checksuming  and/or  reloading  the  transient
  1058.               portion from  disk every  time an  application is run, at the
  1059.               cost of  consuming 48K  of expanded  memory.  If you use this
  1060.               switch, do  not configure the buffers statement in CONFIG.SYS
  1061.               to use  expanded memory  with the  "/X" switch (which is only
  1062.               available in  MS-DOS Version  4+).   At least  through MS-DOS
  1063.               Version 4.01,  MS-DOS does  not properly  restore the mapping
  1064.               context of  the EMM page frame after a critical error occurs.
  1065.               Irregardless of this switch, the print spooler still uses EMM
  1066.               if existent  and all  of dCOM's  internal buffers  are  still
  1067.               saved to EMM when an application is run.
  1068.  
  1069.      /F##/F##     Tells dCOM  to automatically  run a macro (function) key when
  1070.               dCOM first runs.  Shifted function (macro) keys are indicated
  1071.               either by prefixing with an "s" or by adding 10 to the number
  1072.               (e.g. sF10  or F20 both represent shifted F10).  If more than
  1073.               one  of  these  switches  are  used,  they  are  executed  in
  1074.               numerical order.   For example, "/sF10/F5" will automatically
  1075.               run the  F5 and  then the  ShiftF10 macro keys, respectively.
  1076.               Using an  auto macro  key can  be useful  to have dCOM always
  1077.               start on one particular drive/directory, to load TSR programs
  1078.               (which can  be removed with the ^V command at a later point),
  1079.               to set  the printer  to a  desired pitch, etc....  If the /MF
  1080.               command line  switch is  also used,  specifying  a  different
  1081.  
  1082.  
  1083.                                        1010
  1084.  
  1085.                                        Running dCOM - Command Line Switches
  1086.      ----------------------------------------------------------------------
  1087.  
  1088.               macro file  than the  default (DCOM.MAC), the alternate macro
  1089.               file is loaded first before any auto macro keys are executed.
  1090.  
  1091.               Note:   This feature  is automatically  disabled if there are
  1092.               multiple copies  of dCOM  in memory.   Also, the execution of
  1093.               automacro keys can be aborted if Esc is pressed in time.
  1094.  
  1095.      /K/K       Tells dCOM  to KEEP  the transient  portion's memory  when it
  1096.               runs a  program, instead  of releasing  it for the program to
  1097.               use.   This switch was mainly intended for users running dCOM
  1098.               from a  floppy disk and eliminates the need to keep a working
  1099.               copy of  dCOM in  the drive  dCOM  was  originally  run  from
  1100.               (except when you invoke a command that uses an overlay file),
  1101.               but at  the expense  of tying  up approx.  45K  more  memory.
  1102.               Without this  switch, dCOM will still run from a floppy disk,
  1103.               but if  a program  is run  that modifies the high memory area
  1104.               that had  contained the transient portion, dCOM will then try
  1105.               to reload  the transient  portion from  the original drive it
  1106.               was run  from.   If the file containing the transient portion
  1107.               is then not found, an error message is posted to reinsert the
  1108.               working dCOM  disk, or  press Esc  to exit dCOM.  This switch
  1109.               may also  be used  by hard  disk users to eliminate the minor
  1110.               disk accesses which happen every time control returns to dCOM
  1111.               after it runs a program that overwrites the transient portion
  1112.               in high  memory.   But its  hard to imagine anyone being THAT
  1113.               critical on  performance, enough  to give  up the 45K more of
  1114.               conventional memory  that is  required to  hold the transient
  1115.               portion.
  1116.  
  1117.      /M/M       Forces dCOM  to initially  run in  the Macro  Key  Menu  Mode
  1118.               instead of  the utility mode.  When this switch is specified,
  1119.               dCOM loads  as usual,  but then simply displays a menu of the
  1120.               macro key  titles.   The user can exit to dCOM's utility mode
  1121.               by pressing Esc when no gosub'd macro files are active.  If a
  1122.               gosub'd macro file is active, pressing Esc forces a return to
  1123.               the previous  active macro  file (and displays its menu).  To
  1124.               return back  to the menu mode after escaping out of it, press
  1125.               the Esc  key again.   For  more  information,  refer  to  the
  1126.               section called Menuing.
  1127.  
  1128.      /MP/MP      Same as  /M described  above except  that the user must enter
  1129.               the access  password (set  using the  utility modes's Alt-A -
  1130.               Access Password  command) before  being allowed access to the
  1131.               utility mode  (provided the access password is active).  This
  1132.               would ensure  that user's  not having  your confidence  never
  1133.               reach a potentially destructive arena.  For more information,
  1134.               refer to the section called Menuing.
  1135.  
  1136.      /MF=file/MF=file Specifies an  alternative macro  file as the first macro file
  1137.               loaded.   If not  specified otherwise  with this  switch, the
  1138.               default macro  file is  DCOM.MAC.   Macro files  must  always
  1139.               reside in  dCOM's Home  Directory.   The full  syntax of this
  1140.               switch would  have the  name of  the macro  file  immediately
  1141.               following the  "/MF", optionally  separated with  a space  or
  1142.               equals sign  (e.g. "/MF=MAIN.MAC").   If  this switch  is set
  1143.               using the  environment variable,  the equal sign must be left
  1144.               out or MS-DOS will produce a syntax error.  Using this switch
  1145.  
  1146.  
  1147.                                        1111
  1148.  
  1149.                                        Running dCOM - Command Line Switches
  1150.      ----------------------------------------------------------------------
  1151.  
  1152.               is mainly  useful for running an auto macro key and you don't
  1153.               want to  give up  a regular function key in the process.  You
  1154.               would specify  the filename  containing the  auto macro  file
  1155.               with this  switch, also include a switch to automatically run
  1156.               that macro  key, and  then at  the end of that macro key do a
  1157.               GOTOMF to your main macro file.
  1158.  
  1159.      /P/P       Gives  the  printing  application  priority  when  the  print
  1160.               spooler is  active.   This will  result in  the current print
  1161.               operation  returning   control  back   to  you   sooner,  but
  1162.               conversely causing the printer to take a little longer before
  1163.               finishing its job.
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.                                        1212
  1212.  
  1213.                                        Running dCOM - Command Line Switches
  1214.      ----------------------------------------------------------------------
  1215.  
  1216.  
  1217.      /T/T       Informs dCOM  that it  can safely  use any  valid tree  files
  1218.               saved from  the last session.  Without this switch, dCOM will
  1219.               always initially assume that all saved tree files are invalid
  1220.               and the  first time the tree is invoked for each nonremovable
  1221.               drive, its  entire contents  will be  scanned to  read in the
  1222.               directory structure.   If  you use dCOM constantly from power
  1223.               up to  power down, you will probably want to use this switch.
  1224.               For more  information, refer to the section called The Visual
  1225.               Tree.
  1226.  
  1227.      /TREE/TREE    Forces dCOM  to start  up in  the visual  tree instead of the
  1228.               utility mode.
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.                                        1313
  1276.  
  1277.                                         Running dCOM - As the Primary Shell
  1278.      ----------------------------------------------------------------------
  1279.  
  1280.  
  1281.  
  1282.  
  1283.                        Running dCOM As the Primary ShellRunning dCOM As the Primary Shell
  1284.  
  1285.      You may  run dCOM  as the  primary shell  (meaning dCOM  is the  first
  1286.      program loaded  by your computer - not COMMAND.COM) by using the SHELL
  1287.      command of  CONFIG.SYS and  telling dCOM  that this is how it is being
  1288.      run by  giving it  a /SH command line switch.  You must tell dCOM that
  1289.      it is  being invoked as the primary shell so that it will know that it
  1290.      must establish  the environment (not just create a copy of it), and so
  1291.      that it knows there is nothing to exit to.
  1292.  
  1293.      Running dCOM  as the  primary shell  has advantages and disadvantages.
  1294.      The advantages  are that  it squeaks  the most out of your free memory
  1295.      because COMMAND.COM isn't loaded, providing about a 5000 byte increase
  1296.      (depending on  DOS version).   And  it provides better security if you
  1297.      enable the  password protected  macro  menu  mode  (/MP  command  line
  1298.      switch) because Ctrl-C's and Ctrl-Break's are ignored while CONFIG.SYS
  1299.      is being  interpreted, effectively eliminating any opportunity for the
  1300.      user  to   abort  a   hard  disk   boot  sequence  (unless  he/she  is
  1301.      knowledgeable that  a PC  will  boot  off  the  floppy  first).    The
  1302.      disadvantage is that there is no exiting dCOM.
  1303.  
  1304.      When you  run dCOM  as the  primary shell, the /SH command line switch
  1305.      does two things:  1) it tells dCOM its being run as the primary shell,
  1306.      and 2)  it informs  dCOM where  its Home  Directory is.  An example of
  1307.      what a CONFIG.SYS file might look like in this case is:
  1308.  
  1309.           FILES = 20
  1310.           BUFFERS = 20
  1311.           DEVICE = \DOS\ANSI.SYS
  1312.           SHELL = \DCOM\DCOM.COM /SH=\DCOM/E300     SHELL = \DCOM\DCOM.COM /SH=\DCOM/E300
  1313.  
  1314.      Note the  use of the /SH tells dCOM its Home Directory is located in a
  1315.      subdirectory called  DCOM on drive C: (because its the current drive).
  1316.      The /E300  (which is  a normal command line switch) sets up a 300 byte
  1317.      environment.  Any other command line switches desired must be included
  1318.      on this line and should be appended after the /SH (like /E300 is).
  1319.  
  1320.      If you  do not  provide a  path (and the equal sign) immediately after
  1321.      the /SH  switch, dCOM  will assume  the root  directory of the default
  1322.      drive as  its Home  Directory and  it follows that all of dCOM's files
  1323.      must then be in the root directory.
  1324.  
  1325.      When dCOM  is run as the primary shell, it will attempt to execute the
  1326.      AUTOEXEC.BAT file as part of its normal initialization.  In this case,
  1327.      the AUTOEXEC.BAT  file should  make no  references to  dCOM  (dCOM  is
  1328.      already running).  Its much too late to be specifying any command line
  1329.      switches using  the environment  variable, or  worse, running  another
  1330.      copy of  dCOM.   Also,  avoid  using  the  AUTOEXEC.BAT  to  load  TSR
  1331.      programs; their  memory will  "sandwich" the  memory temporarily being
  1332.      used by  COMMAND.COM (which is always invoked to run a batch file) and
  1333.      render that  5K or  so that COMMAND.COM uses as useless.  TSR programs
  1334.      in this instance are better loaded by using an auto macro key.
  1335.  
  1336.  
  1337.  
  1338.  
  1339.                                        1414
  1340.  
  1341.                                         Running dCOM - As the Primary Shell
  1342.      ----------------------------------------------------------------------
  1343.  
  1344.      NOTE:   At least MS-DOS Version 3.3 has a bug regarding the CONFIG.SYS
  1345.              SHELL command.   It  only supports  command line lengths of 36
  1346.              characters or  less.   Using more  than 36 characters produces
  1347.              hyroglyphics on  the command  line for  the command  processor
  1348.              being invoked.   This  means that  starting at the /SH switch,
  1349.              you should be mindful of the number of characters you're using
  1350.              if you use this version of MS-DOS.
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.                                        1515
  1404.  
  1405.                                        Running dCOM - With MS-DOS Version 2
  1406.      ----------------------------------------------------------------------
  1407.  
  1408.  
  1409.  
  1410.  
  1411.                        Running dCOM With MS-DOS Version 2Running dCOM With MS-DOS Version 2
  1412.  
  1413.      When dCOM is run under Version 2 of MS-DOS, there are some things that
  1414.      it can't  determine automatically  like it  can  under  Version  3  or
  1415.      greater, that need to be configured for or told to dCOM explicitly.
  1416.  
  1417.      One of these is the Home Directory, which is discussed in detail in an
  1418.      earlier section under Installation called Home Directory.
  1419.  
  1420.      Another is  your disk  drive configuration.  Under Version 2, dCOM can
  1421.      determine which  drives are valid, but it can't determine which drives
  1422.      are removeable  vice nonremoveable  (nonremoveable drives  are usually
  1423.      hard disks).   Under  Version 2,  dCOM  considers  all  drives  to  be
  1424.      removeable unless  specifically overridden.  This can adversely affect
  1425.      the operation  of a  couple of  dCOM's features, like the tree and the
  1426.      search disk  function.   To correct  this assumption, you will need to
  1427.      configure the  Valid Drive  Override Table  in the  utility mode's K -
  1428.      Configuration Menu,  so that  dCOM will know which of your drive's are
  1429.      removeable and which are not.
  1430.  
  1431.      Under Version  2, dCOM  cannot automatically pickup on changes made to
  1432.      the environment  by a  second copy  of COMMAND.COM (which would mainly
  1433.      play when a batch file uses a SET command).  This same limitation will
  1434.      also have an adverse affect on using dCOM as the Primary Shell because
  1435.      when dCOM  runs the  AUTOEXEC.BAT file,  the normal use of setting the
  1436.      PATH (which  is an environment variable) won't remain in effect.  This
  1437.      can be  circumvented however  by using an auto macro key instead to do
  1438.      the same setup work that AUTOEXEC.BAT would.
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.                                        1616
  1468.  
  1469.                                                Running dCOM - A Guided Tour
  1470.      ----------------------------------------------------------------------
  1471.  
  1472.  
  1473.  
  1474.  
  1475.                                  A Guided TourA Guided Tour
  1476.  
  1477.      Once you  have installed  dCOM,  started  the  engine,  and  made  the
  1478.      necessary  pre-checks   (mirrors,   seat   belts,   controls,   driver
  1479.      visibility, etc...),  you are  now ready to be taken on a tour of some
  1480.      of dCOM's fundamental capabilities.
  1481.  
  1482.      The first  screen displayed  is the  Utility Mode's screen.  While you
  1483.      are in the utility mode, you can always press "H" to get a list of all
  1484.      commands or  functions available  (and also  some help  on other areas
  1485.      like the hot-keys).
  1486.  
  1487.      One of  the first  things you  need to  know about the utility mode is
  1488.      that all  the entries  on your  screen with  a "<D>"  following  their
  1489.      names,  are   subdirectories.     If  you   have  a   color   monitor,
  1490.      subdirectories are  displayed in  a different  color  from  executable
  1491.      files (files  that you  can run  having a  COM, EXE, or BAT extension)
  1492.      which are also in a different color from just regular old files.
  1493.  
  1494.      You can  change into  a subdirectory  by selecting  it with the cursor
  1495.      keys and  pressing Return  (or select  it with the mouse and press the
  1496.      left button).   When  you change  into a  subdirectory, the entry that
  1497.      always shows first is "PREVIOUS <DIR>".  This is representative of the
  1498.      prior directory  (". .") and if you select it and press Return, you'll
  1499.      be back in the directory you were just in.
  1500.  
  1501.      You can  log onto  a different drive by pressing "L" and dCOM will ask
  1502.      you which  drive you  want to log onto.  (If you have a mouse, you can
  1503.      move the pointer into the extreme lower right corner of the screen and
  1504.      a menu  of valid  drives will  pop-up (the  drive select  box)  where;
  1505.      clicking the  left button  will also log onto that drive).  A thing to
  1506.      remember  is   that  each  drive  maintains  its  own  unique  current
  1507.      directory.   When you  log onto drive D, its current directory will be
  1508.      displayed (in a lot of cases it's usually the root directory).  If you
  1509.      change drive  D's current directory, log onto drive C, and then return
  1510.      to drive D, it will still be in the same directory you had left it in.
  1511.  
  1512.      The next  thing to  learn is  how to  run a  program.  Well, just like
  1513.      changing directories,  you just  pick the  file and  press return  (or
  1514.      click on it with the mouse left button).
  1515.  
  1516.      While you  are  running  a  program,  dCOM  is  still  active  in  the
  1517.      background doing such things as spooling to the printer (if you ask it
  1518.      to), looking  out for  upcoming alarms, or anything else you might ask
  1519.      it to do by pressing one of the Hot-Keys.
  1520.  
  1521.      Well, right  about now,  everyone starts to wonder "how do I enter MS-
  1522.      DOS commands?".   Very easily, just press the Tab key.  When you press
  1523.      the Tab  key, dCOM  clears the  bottom line and displays a prompt like
  1524.      MS-DOS does  (i.e. "C>")  and whatever you type now will react just as
  1525.      if you typed it at the normal MS-DOS command prompt.
  1526.  
  1527.      Ok, now  lets say  you want  to copy some files to drive A.  Well, you
  1528.      could sit  there, pick  each file one at a time, press "C" to copy it,
  1529.  
  1530.  
  1531.                                        1717
  1532.  
  1533.                                                Running dCOM - A Guided Tour
  1534.      ----------------------------------------------------------------------
  1535.  
  1536.      and type "A:" to tell dCOM where to copy it to.  But there's an easier
  1537.      way.   Before pressing  "C" to  copy, use the "T" key to tag each file
  1538.      you want copied and then press "C".  After you press "C" to copy, dCOM
  1539.      clears the  bottom line  and asks you where you want to copy the files
  1540.      to.   What you  enter here is exactly like what you would enter if you
  1541.      were using COPY from MS-DOS (if you type "A:", they will get copied to
  1542.      whatever is  the current  directory on drive A).  If you would like to
  1543.      use the  visual tree  to select  the destination  directory, press the
  1544.      keypad's "-"  (hyphen) key while the copy command is prompting you for
  1545.      the destination.   dCOM  also offers a very powerful cache option when
  1546.      copying files  to or from a floppy disk (enabled in the Utility Mode's
  1547.      configuration menu)  which can  better than  double the performance of
  1548.      any other  mechanism for  copying files  (i.e. MS-DOS'  XCOPY or  COPY
  1549.      commands).
  1550.  
  1551.      Considering everything  we've said  so far,  can you imagine how files
  1552.      are deleted?   Right,  pick the  ones you  want by tagging, or with no
  1553.      files tagged,  select the  file you  want, and  then press "D".  Since
  1554.      this is  potentially very  dangerous, dCOM  will stop  and ask  you to
  1555.      confirm before it goes ahead and deletes anything.
  1556.  
  1557.      How about  moving files  to a different subdirectory?  The same thing,
  1558.      pick them and then press "M".  And like the copy command, the tree can
  1559.      be used  to select  the destination directory by pressing the keypad's
  1560.      "-" (hyphen) key after the move command has been invoked.
  1561.  
  1562.      To complete  this quick  tour, we  will quickly show you how to invoke
  1563.      the text  editor so you can easily make changes to batch files or text
  1564.      files.   This is  done by  selecting the  file and  pressing "E".  The
  1565.      editor will immediately pop up on the screen and load the file.  After
  1566.      the file  is loaded  and displayed (which only takes a heartbeat), you
  1567.      can move  around the  text using  the cursor keys and make any changes
  1568.      needed.  When you are ready to save your changes and exit, press Alt-W
  1569.      to write  the changes  back to  the file,  and press Alt-X to exit the
  1570.      editor.   Help is  available while in the editor by pressing Alt-H (or
  1571.      F7).   There is  a lot  more to the editor than just this, but this is
  1572.      enough to get you going.
  1573.  
  1574.      Should you ever have a need to exit dCOM (strongly discouraged), press
  1575.      "X" while  in the utility mode.  If the editor has any open files, the
  1576.      print spooler  buffer is  not empty,  or there  are TSR's  resident in
  1577.      dCOM's memory, you will be warned first before dCOM actually exits.
  1578.  
  1579.      dCOM is  a very  powerful tool  with which  to  use  and  manage  your
  1580.      computer.  It has a lot of features and capabilities that not everyone
  1581.      will need  or ever  find.   You shouldn't  feel uncomfortable thinking
  1582.      that you  don't have  a complete  hold  or  knowledge  on  its  entire
  1583.      workings right away.  It will take some time before even the most avid
  1584.      power user  might have a complete mastery of all its intricacies.  But
  1585.      even using  it with  the functions  we just  mentioned, it provides an
  1586.      ease of use and unparalleled speed not found in any other Dos Shell.
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.                                        1818
  1596.  
  1597.                                                    Running dCOM - On a Z100
  1598.      ----------------------------------------------------------------------
  1599.  
  1600.  
  1601.  
  1602.  
  1603.                              Running dCOM On a Z100Running dCOM On a Z100
  1604.  
  1605.      This section  describes the differences for operation on Zenith's Z100
  1606.      series microcomputers.   If  you are an IBM (compatible) user, you may
  1607.      skip this section.
  1608.  
  1609.      The major  differences  between  use  on  the  Z100  and  use  on  IBM
  1610.      (compatibles) computers  is the  Z100 version  provides no support for
  1611.      the print  spooler, the  hot-keys, or background colors.  Other subtle
  1612.      differences here  and there  will be encountered, and must be accepted
  1613.      using a  little common-sense.   There  are some  things the  Z100 just
  1614.      can't do (like support EGA palette colors).
  1615.  
  1616.      The Z100 version does however, for the most part, function identically
  1617.      with the  IBM version  (they are compiled using the same source code).
  1618.      On a  Z100, the lack of an Alt key is adjusted for by using its F0 key
  1619.      (the IBM  has no  F0 key),  which you  press and  release  to  get  an
  1620.      "Alternate:" message and then press the letter of the Alt key desired.
  1621.  
  1622.      Mouse support  can easily be added by attaching a serial mouse (ensure
  1623.      you acquire  one compatible  with the  mouse driver software mentioned
  1624.      next) and purchasing a Z100 mouse driver from:
  1625.  
  1626.           Paul F. Herman, Inc.
  1627.           Software Graphics Tools
  1628.           3620 Amazon Drive
  1629.           New Port Richey, FL 34655
  1630.           813/376-5457.
  1631.  
  1632.      The Z100  version fully emulates the IBM character set (through dCOM's
  1633.      internal video  drivers) which  means you  can edit  text files  (with
  1634.      dCOM's editor) containing extended (high-order) characters without any
  1635.      trouble.  You can also use the editor to create files containing line-
  1636.      drawing characters  using the  editor's line-drawing  mode, and  print
  1637.      them on a similarly capable printer.
  1638.  
  1639.      When you  run dCOM  on a  Z100, it  automatically determines  that its
  1640.      being used  on a  Z100 and  loads the  resident portion from DCOMZ.000
  1641.      instead of  DCOM.000 (you  can delete  DCOM.000 if you are sure you'll
  1642.      never need to run dCOM on an IBM compatible).
  1643.  
  1644.      Alternate character fonts are also supported on the Z100.  By default,
  1645.      dCOM uses  its own internal font (identical to the Z100's default font
  1646.      if no  ALTCHAR.SYS is  used) which  may be  overridden by renaming the
  1647.      included font file ZIBM.FNT to DCOM.FNT, which produces IBM look-alike
  1648.      characters.   This font file uses the same format as ALTCHAR.SYS so it
  1649.      may be  edited using  Zenith's font  editor  or,  an  already  custom-
  1650.      tailored font file may be copied and used instead as DCOM.FNT, without
  1651.      any further fuss.
  1652.  
  1653.      If you  are using  MS-DOS Version  2,  you  will  definitely  need  to
  1654.      configure the  Valid  Drive  Override  Table  in  the  utility  mode's
  1655.      configuration menu.  If you are using MS-DOS Version 3 or greater, the
  1656.      Zenith version  of MS-DOS  still tends  to need some adjustment to the
  1657.  
  1658.  
  1659.                                        1919
  1660.  
  1661.                                                    Running dCOM - On a Z100
  1662.      ----------------------------------------------------------------------
  1663.  
  1664.      Valid Drive  Override Table  because it  likes to  create extra  drive
  1665.      control blocks that appear as valid drives, even though not physically
  1666.      present.  Its a good idea to visit this menu and do the automatic test
  1667.      with either MS-DOS version and make changes if necessary.
  1668.  
  1669.      After starting  a copy  command, the advertised method of invoking the
  1670.      tree  for  use  in  selecting  the  destination  directory  (from  the
  1671.      keyboard) is  to press  the keypad  "-" (minus)  key.  However, on the
  1672.      Z100, since the keypad "-" and the regular "-" are not distinguishable
  1673.      (under the  current keyboard mode that dCOM configures it to), and the
  1674.      "-" character  is also a valid filename character, dCOM takes the safe
  1675.      route and  only reacts  to the  Tab key.   An  alternative  method  to
  1676.      invoking the  tree during  a copy  command is  to press  the Tab  key.
  1677.      Since the  "-" character  is a  valid filename  character, the "-" key
  1678.      next to the equals key still generates the "-" character.
  1679.  
  1680.      Another method of paging through files in the utility mode (instead of
  1681.      using F11 and F12) can be done using an unadvertised command, N - Next
  1682.      Page.  When "N" is used to page through the utility mode, it functions
  1683.      similarly to  a Page Down except that it will wrap around to the first
  1684.      page when issued on the last page.
  1685.  
  1686.  
  1687.  
  1688.      To compensate  for the Z100's lack of some essential cursor keys, dCOM
  1689.      remaps some of the Z100's extraneous keys (to dCOM's needs) to provide
  1690.      an equivalent for most of their capabilities:
  1691.  
  1692.      IBM     Z100   Description
  1693.      -----   ----   -----------------------
  1694.      ^LEFT   ^B     ^LEFT   ^B     Move back a word
  1695.      ^RIGHT  ^F     ^RIGHT  ^F     Move forward a word
  1696.      HOME    ^S     HOME    ^S     Position to start of field/line
  1697.      END     ^N     END     ^N     Position to end of field/line
  1698.      PgUp    F11    PgUp    F11    Display previous page
  1699.      PgDn    F12    PgDn    F12    Display next page
  1700.      ^HOME   sF11   ^HOME   sF11   Depends on situation
  1701.  
  1702.  
  1703.  
  1704.  
  1705.                                Color on the Z100Color on the Z100
  1706.  
  1707.      Color on  the Zenith  Z100 is supported but, unlike the IBM, it is not
  1708.      used automatically.   You  must issue  a command to the utility mode's
  1709.      configuration menu  before dCOM will switch to the use of color.  When
  1710.      dCOM is  run on a Z100, the utility mode's K - Configuration Menu will
  1711.      display an  additional command  in its prompt, "C - Color".  To switch
  1712.      the Z100  in and  out of  using color,  press the  "C" and  dCOM  will
  1713.      immediately reflect the new condition (if on, using the values entered
  1714.      for Colors).  The prompt then reflects an option to save the new state
  1715.      as the default.
  1716.  
  1717.      NOTE:   Background color  is not supported and the maximum color range
  1718.              for any  of the  working colors  is 0 to 7.  If a color higher
  1719.              than 7  is specified,  the modulus 8 remainder is used.  These
  1720.              limitations also apply to the editor's configuration menu.
  1721.  
  1722.  
  1723.                                        2020
  1724.  
  1725.                                                    Running dCOM - On a Z100
  1726.      ----------------------------------------------------------------------
  1727.  
  1728.  
  1729.      NOTE:   For performance  reasons, dCOM  defaults to not using color on
  1730.              the Z100.   Using color on the Z100 degrades video performance
  1731.              noticeably.   The Z100's  video hardware  requires that  three
  1732.              banks of  video ram be managed simultaneously when using color
  1733.              instead of just one for monochrome.
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.                                        2121
  1788.  
  1789.                                                                  Using dCOM
  1790.      ----------------------------------------------------------------------
  1791.  
  1792.  
  1793.  
  1794.  
  1795.                                    USING dCOMUSING dCOM
  1796.  
  1797.      ======================================================================
  1798.      Throughout this  documentation, we  will constantly  refer to  several
  1799.      distinct modes  of operation  that dCOM  can be  operated in.   It  is
  1800.      important to  understand which  mode is  which when  we refer to them.
  1801.      For example,  the most  commonly referred to mode is the utility mode.
  1802.      The utility  mode is  the default  operating mode  from which you copy
  1803.      files, delete files, run programs, change directories, etc....
  1804.  
  1805.      Another mode  that is  also  referred  to  a  lot  is  the  menu  mode
  1806.      (sometimes referred to in full form as the macro key menu mode).  dCOM
  1807.      can be configured using the /M or /MP command line switches to come up
  1808.      in the menu mode instead of the utility mode (described in detail in a
  1809.      latter section called Menuing).  This mode is provided so that you can
  1810.      utilize the  sophisticated features of the macro keys in a menu driven
  1811.      environment, enabling  you to  build a  powerful and  flexible menuing
  1812.      interface.
  1813.  
  1814.      It is  also important  to understand  that dCOM  is not just a program
  1815.      that disappears  after you  instruct it to run another program.  It is
  1816.      still alive  and working  when you  do, and  there are a lot of things
  1817.      that we will talk about that pertain to this.  For instance:  the hot-
  1818.      keys, the  print spooler,  printer redirection,  and  the  alarm/event
  1819.      system are  all examples  of things that still work even though you're
  1820.      running another program.
  1821.  
  1822.      There is  a lot  of capability  and sophistication  built  into  dCOM.
  1823.      Extreme care  has been  taken  to  provide  it  as  benignly  to  your
  1824.      environment as  possible and  still provide  the utmost  in power  and
  1825.      performance.  It will constantly look out for you as intuitively as it
  1826.      can.   Its error checking, handling, and reporting are as explicit and
  1827.      in depth as is possible.
  1828.  
  1829.      Do not feel you have to learn it all overnight, or in a week.  But you
  1830.      can easily  be tapping  a lot  of its  power in  a just  a  matter  of
  1831.      minutes.
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.                                        2222
  1852.  
  1853.                                                       Using dCOM - Hot-Keys
  1854.      ----------------------------------------------------------------------
  1855.  
  1856.  
  1857.  
  1858.  
  1859.                                     Hot-KeysHot-Keys
  1860.  
  1861.      Hot-Keys are  commands that  dCOM recognizes no matter what you happen
  1862.      to be doing or what program you happen to be running.
  1863.  
  1864.      Shift-Ctrl-BShift-Ctrl-B   Blanks the  screen and  locks out  the  keyboard  (also
  1865.                     locking out the mouse when dCOM is running). This could
  1866.                     be handy  when unwanted  company walks  in the  room or
  1867.                     when leaving your computer unattended.  The only way to
  1868.                     resume is by pressing it again.  If the access password
  1869.                     is active  (as set  with Alt-A  - Access  Password), it
  1870.                     must be entered instead of Shift-Ctrl-B to reactivate a
  1871.                     blanked screen.   If someone had been fooling with your
  1872.                     computer during  your absence, the first time you enter
  1873.                     the password  you will  probably receive  a beep for an
  1874.                     invalid password  (because it  still contains  some  of
  1875.                     their keystrokes).    Note  that  while  you  type  the
  1876.                     password, the  screen will  remain  blanked  until  the
  1877.                     correct password  is entered and followed by the Return
  1878.                     key.
  1879.  
  1880.      Shift-Ctrl-CShift-Ctrl-C   Clears the  print spooler buffer and resets the printer
  1881.                     (clearing its  buffer).   After this command is issued,
  1882.                     dCOM flushes (discards) any output to the printer until
  1883.                     15 seconds of dormancy occur, ensuring that the current
  1884.                     print operation  is thoroughly  cancelled (this feature
  1885.                     works even  if the  print spooler  is disabled).    The
  1886.                     flush period  can be  cancelled  sooner  by  issuing  a
  1887.                     second Shift-Ctrl-C.
  1888.  
  1889.      Shift-Ctrl-FShift-Ctrl-F   Sends a form-feed to the printer on the current printer
  1890.                     port (set  with ^P).   This can be handy when you print
  1891.                     something that  didn't advance  the paper to a new page
  1892.                     and you  want to  continue printing  starting with  the
  1893.                     next page,  or just want to eject the current page (and
  1894.                     not have  to get  up from  your seat  to do so).  Form-
  1895.                     feeds sent  using  this  command  will  wait  till  any
  1896.                     existing characters  in the spooler are depleted before
  1897.                     actually being transmitted.
  1898.  
  1899.      Shift-Ctrl-LShift-Ctrl-L   Sends a line-feed to the printer on the current printer
  1900.                     port (set  with ^P).   This can be handy when you print
  1901.                     something and  then want  to advance  the paper  one or
  1902.                     more lines  before continuing  to print  something else
  1903.                     (and not  have to  get up  from your  seat to  do  so).
  1904.                     Line-feeds sent  using this  command will wait till any
  1905.                     existing characters  in the spooler are depleted before
  1906.                     actually being transmitted.
  1907.  
  1908.      Shift-PlusShift-Plus     Toggles the  current mode of whether the "+" key on the
  1909.                     keypad will  react as  a Return  key or  as a  "+" key.
  1910.                     Many of  the 84-key  keyboards do  not provide a second
  1911.                     Return key on the keypad.  If you would rather that the
  1912.                     keypad's "+"  key acted  as a  Return key,  dCOM can do
  1913.  
  1914.  
  1915.                                        2323
  1916.  
  1917.                                                       Using dCOM - Hot-Keys
  1918.      ----------------------------------------------------------------------
  1919.  
  1920.                     this for  you.   Normally  you  would  have  this  mode
  1921.                     default on  in dCOM's  Configuration Menu  and then use
  1922.                     this hot-key  to temporarily toggle the keypad "+" back
  1923.                     to its original meaning in the event that you pull-up a
  1924.                     calculator type  TSR (or  find yourself  in  any  other
  1925.                     situation) that  would make  you want the keypad "+" to
  1926.                     act as a "+" key.
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.                                        2424
  1980.  
  1981.                                                   Using dCOM - With a Mouse
  1982.      ----------------------------------------------------------------------
  1983.  
  1984.  
  1985.  
  1986.  
  1987.                             Using dCOM With a MouseUsing dCOM With a Mouse
  1988.  
  1989.      dCOM features  a very  powerful mouse  interface.   Most file-oriented
  1990.      commands can  be performed  totally using  the mouse  without keyboard
  1991.      intervention.   dCOM automatically defaults with the mouse enabled, if
  1992.      a mouse  driver is  present.   The mouse  can be  disabled if desired,
  1993.      using the  utility  mode's  configuration  menu.    The  mouse  driver
  1994.      installed must be Microsoft or Logitech compatible.
  1995.  
  1996.      When the  mouse is  enabled, a  side bar  menu appears along the right
  1997.      edge of  the utility  mode's screen and a smaller mouse selection menu
  1998.      also appears in the tree.
  1999.  
  2000.      When working  in dCOM's  utility mode,  some of  the  mouse  side  bar
  2001.      commands, when picked, wait for further selection before they execute.
  2002.      For instance,  if you  had tagged  10 files  (using  the  right  mouse
  2003.      button) and  then picked  "Copy" from  the side  bar, it would execute
  2004.      immediately because the source is already clear.  However, if no files
  2005.      are tagged,  selecting "Copy" from the side bar menu highlights "copy"
  2006.      and then  waits till  you go  click the  left button  on a filename or
  2007.      directory before the copy command is actually invoked.
  2008.  
  2009.      After a  copy or  move command  has been  invoked,  the  tree  may  be
  2010.      selected from  the side  bar menu and used to indicate the destination
  2011.      for the  copy or  move.  Alternatively, if you wish to use the tree to
  2012.      select a  directory on a different drive after you have started a copy
  2013.      command, you can move the mouse into the drive select box (lower right
  2014.      portion of the screen) and click the left button on the drive you wish
  2015.      the tree to display.
  2016.  
  2017.      If you originally invoke a copy or move command from the tree, control
  2018.      stays in the tree for selection of the destination directory.
  2019.  
  2020.      All pop-up  menu's except the side bar menu and the macro key menu are
  2021.      draggable by  holding down  the right mouse button while positioned in
  2022.      the menu.   Their  new position is saved automatically in DCOM.INI for
  2023.      future use.
  2024.  
  2025.      All pop-up menu's can be cancelled by clicking the mouse outside their
  2026.      windows.
  2027.  
  2028.      The normal  use of the mouse buttons is that the left button acts like
  2029.      pressing Return  on whatever  is selected  and the  right button  tags
  2030.      files.  This means you can change directories and run programs just by
  2031.      positioning the  mouse pointer  on the  appropriate entry's  name  and
  2032.      click the  left mouse  button.  Or, you can use the right mouse button
  2033.      to expeditiously  tag a  number of  files because  it  will  tag  with
  2034.      dragging as  fast as  you can  move the  mouse (while holding down the
  2035.      right button).
  2036.  
  2037.      If you  have a  Logitech three-button  mouse, the  center button  will
  2038.      cause the  selection to  move to  where the  mouse pointer  is with no
  2039.      further action.   This  is useful  to position the selection on a file
  2040.      that you  then wish  to perform some action on that isn't supported by
  2041.  
  2042.  
  2043.                                        2525
  2044.  
  2045.                                                   Using dCOM - With a Mouse
  2046.      ----------------------------------------------------------------------
  2047.  
  2048.      the side  bar menu,  or if  you  want  to  exhibit  your  ambidextrous
  2049.      capabilities by  using the  mouse with  one hand and then the keyboard
  2050.      with the other.
  2051.  
  2052.      When in  any kind  of a  subfunction that  asks for a Yes or No answer
  2053.      (except the  editor), you  can answer  Yes by  pressing the left mouse
  2054.      button or you can cancel by pressing the right mouse button (like when
  2055.      confirming that you want to delete files).
  2056.  
  2057.      Paging the  screen in  the utility  mode (or  any menu that has enough
  2058.      entries to  contain more  than one  page) can be accomplished with the
  2059.      mouse by  clicking the left button on the appropriate set of double up
  2060.      or down arrows that appear at the bottom of the side bar.
  2061.  
  2062.      In the  utility mode,  the mouse  can be  used to log onto a different
  2063.      drive by  moving the  mouse pointer  into the drive select box (bottom
  2064.      right corner  of the screen) and clicking the left button on the drive
  2065.      desired.   The list  of valid  drives is  only displayed  in the drive
  2066.      select box  when the  mouse pointer  is actually  in its area.  If you
  2067.      have more  valid drives  than will  fit totally within this window, it
  2068.      can be  scrolled horizontally  by attempting  to move the mouse beyond
  2069.      the window's left or right borders.
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.                                        2626
  2108.  
  2109.                                                 Using dCOM - Prompt Editing
  2110.      ----------------------------------------------------------------------
  2111.  
  2112.  
  2113.  
  2114.  
  2115.                                  Prompt EditingPrompt Editing
  2116.  
  2117.      Quite a  few commands, when invoked, prompt for additional information
  2118.      (e.g. the  utility mode's  copy command asks for a destination).  When
  2119.      you are  editing a response to a multi-character prompt, the following
  2120.      special keys are available:
  2121.  
  2122.      Left ArrowLeft Arrow   Moves the cursor one character to the left.
  2123.      Right ArrowRight Arrow  Moves the cursor one character to the right.
  2124.      BackspaceBackspace    Moves the cursor one character to the left destructively.
  2125.      InsIns          Toggles the  current insert/typeover  mode, changing  the
  2126.                   shape of the cursor to indicate so.
  2127.      DelDel          Deletes the  character under the cursor, closing from the
  2128.                   right.
  2129.      Up ArrowUp Arrow     In the  utility mode,  scrolls backward  through the last
  2130.                   commands entered to the prompt involved.
  2131.      Dn ArrowDn Arrow     In the  utility mode,  scrolls forward  through the  last
  2132.                   commands entered  to the prompt involved (you must scroll
  2133.                   backwards first, before you can scroll forward).
  2134.      ^X           ^X           Delete from cursor to end of field/line.
  2135.      ^Left        ^Left        Move back a word.
  2136.      ^Right       ^Right       Move forward a word.
  2137.      Home         Home         Position to start of field/line.
  2138.      End          End          Position to end of field/line.
  2139.  
  2140.      Taking the  time to  learn the  use of  these basic  editing keys  can
  2141.      seriously enhance your use of dCOM.
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.                                        2727
  2172.  
  2173.                                                   Using dCOM - TSR Programs
  2174.      ----------------------------------------------------------------------
  2175.  
  2176.  
  2177.  
  2178.  
  2179.                                   TSR ProgramsTSR Programs
  2180.  
  2181.      TSR (terminate  and stay  resident) programs  pose some  problems when
  2182.      installed from  anywhere but at the command prompt of the first MS-DOS
  2183.      command processor (COMMAND.COM).  When they are installed from a shell
  2184.      (such as  dCOM), they  can irreversibly  fragment user  memory (if the
  2185.      shell doesn't  go to  some trouble  to avoid  this), and  they can  be
  2186.      wagering quite  a nasty  little  war  over  who  is  doing  what  with
  2187.      interrupt handlers.
  2188.  
  2189.      When you  run and  load a TSR from within dCOM, you are advised of how
  2190.      much memory  the TSR(s) consumed when control returns to dCOM (you can
  2191.      view and clear (remove) TSR's loaded since dCOM was run using ^V).
  2192.  
  2193.      TSR's loaded  prior to running dCOM generally do not present a problem
  2194.      except for  one:   SideKick.  To the author's knowledge, only SideKick
  2195.      goes to  such lowly  extremes as  to check  18 times a second (quite a
  2196.      sizeable amount  of processing  time stolen  from  your  application),
  2197.      whether or  not you've  loaded a program that has inserted itself as a
  2198.      keyboard interrupt  handler.   If SideKick  is resident  when dCOM  is
  2199.      first run,  you will be given the message:  "SideKick Resident Error".
  2200.      When this  occurs, it  means that  dCOM isn't  going to waste its time
  2201.      fighting with  SideKick and  removes its  hardware keyboard  interrupt
  2202.      handler, which  removes its  capability to  catch "hot-keys".   If you
  2203.      load SideKick  after running  dCOM, there  is no technical problem and
  2204.      life goes  on as  planned.  If you are a SideKick fan, you may want to
  2205.      consider having SideKick loaded by an auto macro key (refer to Command
  2206.      Line Switches).
  2207.  
  2208.      If there  are TSR  programs resident  when you  exit dCOM, you will be
  2209.      warned that  continuing with  the exit  will remove  the TSR's.  TSR's
  2210.      can't be allowed to stay resident when dCOM exits for two reasons:  It
  2211.      would seriously  fragment your  memory and  the TSR  would unknowingly
  2212.      attempt to  chain back  to what  were dCOM's interrupt handlers, which
  2213.      would now be non-existent (lock-up city).
  2214.  
  2215.      When you  load a  TSR from dCOM, you should avoid doing it in a manner
  2216.      that invokes  a second copy of COMMAND.COM first.  When COMMAND.COM is
  2217.      used to  load a  TSR, the  resident portion  of  COMMAND.COM's  memory
  2218.      becomes sandwiched between dCOM's and the TSR, and cannot be recovered
  2219.      (unless you  use the  Clear  command  of    ^V  -  View/Clear  TSR's).
  2220.      Currently, under  MS-DOS Version  3, the amount of memory lost because
  2221.      of this is approximately 4,000 bytes per incident.
  2222.  
  2223.      Techniques that  would use  COMMAND.COM are:   Running  a TSR from the
  2224.      utility mode's  MS-DOS command prompt (the Tab command), running a TSR
  2225.      from a  batch file, or running a TSR using the ">" operator in a macro
  2226.      key.
  2227.  
  2228.      Techniques that  would not  invoke a  second copy  of COMMAND.COM are:
  2229.      Running a  TSR using dCOM's (point-n-shoot) Ret or Space Bar commands,
  2230.      or running a TSR in a macro key without the ">" operator.
  2231.  
  2232.  
  2233.  
  2234.  
  2235.                                        2828
  2236.  
  2237.                                                   Using dCOM - TSR Programs
  2238.      ----------------------------------------------------------------------
  2239.  
  2240.      Each macro  key has  an optional  switch (/R)  that can be used on its
  2241.      title line  to force dCOM to remove any TSR's loaded by that macro key
  2242.      when it finishes, but TSR's loaded prior to the macro key are kept.
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.                                        2929
  2300.  
  2301.                                                Using dCOM - Critical Errors
  2302.      ----------------------------------------------------------------------
  2303.  
  2304.  
  2305.  
  2306.  
  2307.                                 Critical ErrorsCritical Errors
  2308.  
  2309.      dCOM goes  to great  lengths to  prevent and intercept critical errors
  2310.      (the familiar Abort, Retry, Ignore message which you receive under MS-
  2311.      DOS whenever  you didn't  close a drive door or remove a write-protect
  2312.      tab, etc...).   One example is instead of blindly attempting to access
  2313.      a destination  drive for any file I/O operation, dCOM always checks to
  2314.      ensure that  the drive  you have  specified is valid and ready.  While
  2315.      this may  be above  and beyond  the normal call of duty, at the least,
  2316.      all well  behaved programs  should trap  for critical  errors.  If not
  2317.      trapped, a painstakingly, well-designed screen gets obliterated by the
  2318.      message and  the opportunity  exists for the user to abort back to the
  2319.      previous process,  giving the program no opportunity to save unwritten
  2320.      information to disk or remove interrupt handlers.
  2321.  
  2322.      When a critical error occurs, dCOM's critical error handler pops-up on
  2323.      the screen  with the  particular error  displayed inside a box, giving
  2324.      the same  three options.   Responding  with Retry  or  Ignore  behaves
  2325.      identically to  the MS-DOS  counterpart.  Responding with Abort forces
  2326.      dCOM to  cancel the current disk operation in progress, close any open
  2327.      files, and return to the command mode of either dCOM or the editor (no
  2328.      harm done).   dCOM  cannot allow an Abort to behave like it does under
  2329.      the MS-DOS  critical error handler which exits the current process and
  2330.      returns control to the calling program.
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.                                        3030
  2364.  
  2365.                                           Using dCOM - Encountering Trouble
  2366.      ----------------------------------------------------------------------
  2367.  
  2368.  
  2369.  
  2370.  
  2371.                               Encountering TroubleEncountering Trouble
  2372.  
  2373.  
  2374.  
  2375.      This  section  is  provided  to  inform  you  of  the  known  problems
  2376.      encountered so  far in using dCOM under various versions of MS-DOS and
  2377.      with certain programs or types of programs.
  2378.  
  2379.      At least  MS-DOS Version  3.3 has a bug regarding the CONFIG.SYS SHELL
  2380.      command.   It only  supports command  line lengths of 36 characters or
  2381.      less.   Using more  than 36  characters produces  hyroglyphics on  the
  2382.      command line  for the  command processor  being invoked.  This is only
  2383.      significant if  you run  dCOM using  the SHELL command from CONFIG.SYS
  2384.      and are  also specifying  a healthy  number of  command line switches.
  2385.      Refer to  the  /SH  command  under  Command  Line  Switches  for  more
  2386.      information.
  2387.  
  2388.      MS-DOS Versions  4 through at least 4.01 have a bug if you specify the
  2389.      /X switch  on the  BUFFERS statement  of  CONFIG.SYS  (to  enable  the
  2390.      buffers to  use EMM  if present).   It  does not  properly restore the
  2391.      mapping context  of the  EMM page frame after a critical error occurs,
  2392.      which can  blow dCOM  out of  the water  if its  transient portion  is
  2393.      running in EMM (by giving dCOM the /EMM command line switch).  (Thanks
  2394.      Microsoft for a week of hair-pulling frustration.)
  2395.  
  2396.      Some versions  of Borland's  Sidekick go  to such lowly extremes as to
  2397.      check 18  times a  second (quite  a sizeable amount of processing time
  2398.      stolen from  your application), whether or not you've loaded a program
  2399.      that has inserted itself as a keyboard interrupt handler.  If Sidekick
  2400.      is resident  when dCOM  is first  run, you  will be given the message:
  2401.      "Sidekick Resident Error".  When this occurs, it means that dCOM isn't
  2402.      going to  waste its  time  fighting  with  Sidekick  and  removes  its
  2403.      hardware keyboard  interrupt handler,  which removes its capability to
  2404.      catch "hot-keys".   If  you load Sidekick after running dCOM, there is
  2405.      no technical  problem and  life goes  on as  planned.   If you  are  a
  2406.      Sidekick fan,  you may  want to  consider having Sidekick loaded by an
  2407.      auto macro key (refer to Command Line Switches).
  2408.  
  2409.      MS-Windows can  be a  real  problem  for  any  screen  saver  program.
  2410.      Windows, in  its  efforts  to  provide  device  independence  for  its
  2411.      applications, becomes  very device  dependant internally.  It provides
  2412.      (among other  things) its  own internal  drivers for both the keyboard
  2413.      and the  mouse.   What this  means is  that when you run Windows under
  2414.      dCOM, dCOM  has no idea that you've been merrily pounding the keyboard
  2415.      or fondling  your mouse, and proceeds to save the screen (should it be
  2416.      enabled to  save outside  dCOM) x  number  of  minutes  after  running
  2417.      Windows.   And, since  Windows has  taken the  keyboard interrupt, any
  2418.      further attempts  to bludgeon  the keyboard  will  have  no  favorable
  2419.      effect in  trying to get the screen restored - except for one key, the
  2420.      Scroll Lock  key.   For some  uncanny reason,  Windows  regenerates  a
  2421.      keyboard interrupt  to the  previous keyboard  handler when the Scroll
  2422.      Lock key  is pressed,  which should  work to  restore the  screen dCOM
  2423.      saved.   You should then press Scroll Lock again (to turn it off).  If
  2424.      you are  a frequent  Windows user,  you may want to disable the screen
  2425.  
  2426.  
  2427.                                        3131
  2428.  
  2429.                                           Using dCOM - Encountering Trouble
  2430.      ----------------------------------------------------------------------
  2431.  
  2432.      saver from  working when  dCOM is running another program (which is an
  2433.      option in  the utility  mode's configuration menu called "Save Scn Out
  2434.      of dCOM").
  2435.  
  2436.      When using  dCOM with  a mouse,  in order  to support the screen saver
  2437.      being sensitive  to mouse  activity, dCOM chains into the mouse driver
  2438.      interrupt handler.   Whether dCOM stays chained into the mouse handler
  2439.      depends on  whether the  screen saver  is enabled for use when dCOM is
  2440.      running another  program (which  is an  option in  the utility  mode's
  2441.      configuration menu  called "Save  Scn Out  of dCOM").   If  the screen
  2442.      saver is configured to work when dCOM is running another program, dCOM
  2443.      will stay  chained into  the mouse  interrupt handler.   However, some
  2444.      programs use  the current address of the mouse driver interrupt vector
  2445.      (namely Logitech's  MENU.COM program)  to determine  whether  a  mouse
  2446.      driver is  actually installed  (rather than  the advertised  method of
  2447.      calling interrupt  33h) and  if it doesn't actually point to the mouse
  2448.      driver, produces  an error.   If  you experience  this problem, either
  2449.      disable the  screen saver from working when dCOM runs another program,
  2450.      or run another copy of MOUSE.COM.
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.                                        3232
  2492.  
  2493.                                                            The Utility Mode
  2494.      ----------------------------------------------------------------------
  2495.  
  2496.  
  2497.  
  2498.  
  2499.                                 THE UTILITY MODETHE UTILITY MODE
  2500.  
  2501.      ======================================================================
  2502.      Unless specified  otherwise, the default operating mode is the utility
  2503.      mode.   (Configuring otherwise  would be having the tree come up first
  2504.      using the  /TREE command line switch, or the macro key menu mode using
  2505.      the /M  or /MP  command line switches.)  The utility mode is where you
  2506.      change directories,  run programs,  copy  files,  delete  files,  edit
  2507.      files, configure dCOM, etc....
  2508.  
  2509.      The utility  mode always  displays the  contents (files  read) of  the
  2510.      default drive's  current directory,  using up to four columns of files
  2511.      per page  (a maximum  of 60 files on screen at one time).  Whether you
  2512.      also see  hidden or  system files is controlled by the View mode which
  2513.      is changed  using the V - View mode command.  Viewing hidden files can
  2514.      be password protected using the Alt-A - Access Password command.
  2515.  
  2516.      Most of  the utility  mode commands  utilize what is called a point-n-
  2517.      shoot technique.   Point-n-shoot means you first pick what you want to
  2518.      work with  and then  you select  the command  you want  to use.    For
  2519.      example, to  copy a  file to  another drive,  you would first point by
  2520.      selecting the file (using the cursor keys), and then shoot by pressing
  2521.      "C" to invoke the copy command.
  2522.  
  2523.      Certain commands  recognize  tagged  files  before,  and  instead  of,
  2524.      whatever is  currently selected  (such as  Copy, Move,  Delete, Print,
  2525.      etc...).  Additionally, some commands reference the entire contents of
  2526.      a subdirectory  when the  subdirectory's name  is  selected  from  the
  2527.      previous directory.  Commands that react in these ways are so noted at
  2528.      the start of their description in Command Reference.
  2529.  
  2530.      All commands  are single-stroke  (you don't  have to  press the return
  2531.      key) and  none of  them are  case-sensitive (you  don't have  to worry
  2532.      about responding  in upper case).  All destructive commands prompt for
  2533.      confirmation before proceeding.
  2534.  
  2535.      Some  commands   prompt  for   further  information   before  actually
  2536.      proceeding (i.e.  the delete  command  asks  for  confirmation  before
  2537.      proceeding).   Such prompts can be configured whether they are single-
  2538.      stroke or  whether they  require the  Return key  before they proceed.
  2539.      This is  changed temporarily using the ^K - Single Key Prompts command
  2540.      or permanently  using the  utility mode's  configuration  menu.    The
  2541.      factory configuration defaults to requiring the Return key.
  2542.  
  2543.      All commands  and actions  are escapable  by pressing the Esc key.  If
  2544.      the command  has already  started  (such  as  copying  several  tagged
  2545.      files), Esc  will abort after the current file is finished.  Issuing a
  2546.      ^C also aborts, reacting quicker (it is caught at the key-press level)
  2547.      by aborting  when the  current MS-DOS  function is  finished, but will
  2548.      probably leaving a destination file unusable.
  2549.  
  2550.      All pop-up  menu's are  moveable by  engaging the  Scroll Lock key and
  2551.      then using  the cursor  keys to  move them  or, by  moving  the  mouse
  2552.      pointer within  the window  and holding  down the  right mouse button.
  2553.  
  2554.  
  2555.                                        3333
  2556.  
  2557.                                                            The Utility Mode
  2558.      ----------------------------------------------------------------------
  2559.  
  2560.      Each  pop-up   window  maintains   its  own  set  of  screen  position
  2561.      coordinates which are saved automatically in DCOM.INI.
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.                                        3434
  2620.  
  2621.                                                Utility Mode - Tagging Files
  2622.      ----------------------------------------------------------------------
  2623.  
  2624.  
  2625.  
  2626.  
  2627.                                  Tagging FilesTagging Files
  2628.  
  2629.      The capability  to selectively  tag files  as a  way to  identify  the
  2630.      source for  subsequent  file-oriented  commands  is  a  very  powerful
  2631.      feature.   Without this  capability, the user would have to contrive a
  2632.      wildcard that  hopefully will  catch the  files he/she wants MS-DOS to
  2633.      work with.  In many situations, the user would end up identifying each
  2634.      file separately.
  2635.  
  2636.      With dCOM,  it is  easy to  pick the files that would be involved in a
  2637.      subsequent copy,  delete, etc...,  by selecting  and tagging the files
  2638.      before issuing the command.
  2639.  
  2640.      There  are   actually   three   ways   to   tag   files:      T - Tag,
  2641.      ^T - Priority Tag, and Alt-T - Tag All.  Files tagged using the normal
  2642.      T - Tag command  are processed in the order they are displayed.  Files
  2643.      tagged using  the ^T - Priority Tag command are processed in the order
  2644.      they  are   tagged  and   before  any  normally  tagged  files.    The
  2645.      Alt-T - Tag All command simply fills in those files not already tagged
  2646.      using normal  tags.  When it is desirable to process tagged files in a
  2647.      different order  than they  are displayed  (such as when concatenating
  2648.      files with the copy command), use priority tags.  A common practice is
  2649.      to use  priority tags on the files you are concerned with and then use
  2650.      Alt-T to tag the rest.
  2651.  
  2652.      Tagging can  also be accomplished with the mouse by clicking the right
  2653.      button on  the filename  desired (producing  a normal  tag).  However,
  2654.      tagging with  the mouse  also supports  dragging, meaning  you can tag
  2655.      entire columns  of files  as fast  as you can put the mouse pointer on
  2656.      the first  file in  a column,  hold down  the right  mouse button, and
  2657.      sweep the pointer to the bottom of the column.
  2658.  
  2659.      NOTE:   Sometimes  it  is  easier  when  you  want  almost  the  whole
  2660.              directory to  be considered  the source to use the Alt-T - Tag
  2661.              All command  and  then  selectively  untag  with  the  T - Tag
  2662.              command.
  2663.  
  2664.      When there  are tagged  files, the  area that  normally  displays  the
  2665.      number of  files in  the current directory and the total of their file
  2666.      sizes (*4 of Screen Layout) is replaced with how many files are tagged
  2667.      and the sum of the tagged file(s) sizes.
  2668.  
  2669.      When analyzing  the sum  of file sizes tagged (sometimes with thoughts
  2670.      of copying  them to  a floppy), you must understand that a file's size
  2671.      as indicated  in the  directory is  notis  not the  actual  amount  of  space
  2672.      required to  hold the  file on  disk.  It is only an indication of how
  2673.      long the file is.  Disk space is allocated by clusters.  The amount of
  2674.      space a  file consumes  on a  disk is  actually governed  by how  many
  2675.      clusters are  required to  hold it  (no two  files may  share the same
  2676.      cluster).  If a file is only comprised of one byte, the directory says
  2677.      its size  is one byte; on a 360k floppy disk it will consume 512 bytes
  2678.      of disk  space because  the cluster  size on  a 360k  diskette is  512
  2679.      bytes.   If you had five files all just one byte in length, they would
  2680.      require 2,560  bytes of  disk space even though the sum of their sizes
  2681.  
  2682.  
  2683.                                        3535
  2684.  
  2685.                                                Utility Mode - Tagging Files
  2686.      ----------------------------------------------------------------------
  2687.  
  2688.      is just 5.  This is a rather extreme example, but it helps portray why
  2689.      3 tagged  files only  summing 900  bytes will  not fit  on a disk with
  2690.      1,024 bytes of disk space free.
  2691.  
  2692.      Cluster size  varies depending on the type of media involved; for hard
  2693.      disks it  can be 512, 1024, and so on....  Any time free disk space is
  2694.      given, be  it in dCOM, MS-DOS, or some other program, it is actually a
  2695.      product of  the number  of clusters free multiplied with the number of
  2696.      bytes per cluster.
  2697.  
  2698.      When copying  tagged files  to a  floppy diskette  and its  disk space
  2699.      becomes full, a window will pop-up that gives you the option to change
  2700.      diskettes and  continue.  When this occurs, the file that produced the
  2701.      error is  deleted from  the destination  (before the  prompt is given)
  2702.      and, if copying does continue, it resumes with the start of that file.
  2703.  
  2704.      dCOM attempts to retain tagged files through a variety of actions, but
  2705.      any change  to the  originally read  order of  the  current  directory
  2706.      forces dCOM  to automatically untag any tagged files.  This means that
  2707.      you can  issue DOS  commands, run  programs, invoke the editor, etc...
  2708.      and as  long as  you don't  do something  that modifies or updates the
  2709.      contents of the current directory, your tags will remain intact.
  2710.  
  2711.      NOTE:   The tagging  commands, T - Tag,  and ^T - Priority Tag  can be
  2712.              configured to  automatically advance  the selection bar to the
  2713.              next entry  by using the utility mode's ^A - Advance After Tag
  2714.              command.
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.                                        3636
  2748.  
  2749.                                            Utility Mode - Extension Execute
  2750.      ----------------------------------------------------------------------
  2751.  
  2752.  
  2753.  
  2754.  
  2755.                                Extension ExecuteExtension Execute
  2756.  
  2757.      Not only  does dCOM  directly execute  files with  COM,  EXE,  or  BAT
  2758.      extensions, but  other extensions can also be configured to generate a
  2759.      form of  execution when  they are  selected  and  the  Return  key  is
  2760.      pressed.  This feature is almost functionally equivalent to MS-Windows
  2761.      and its "[extensions]" field.
  2762.  
  2763.      What happens  is that  dCOM allows  you to  define filename extensions
  2764.      which are  executable in  the sense  that dCOM  will run a program and
  2765.      pass to  it parameters  that  you  configure  (usually  involving  the
  2766.      filename that  was selected).   For  instance, all  files having a BAS
  2767.      extension generally  have to  be run  using a  BASIC interpreter.  You
  2768.      could define  the extension  "BAS" so  that when you press Return on a
  2769.      file having  a BAS  extension, dCOM  will run  BASIC and  pass it  the
  2770.      file's name  that was selected (which BASIC then runs).  Or, you could
  2771.      do the  same with  files having  a "DOC"  extension by having dCOM run
  2772.      your favorite  word processor,  passing it the selected filename to be
  2773.      edited.  (Files having an extension defined in this manner also become
  2774.      executable using the mouse left button.)
  2775.  
  2776.      You define  executable extensions  by creating  a text  file in dCOM's
  2777.      Home Directory called DCOM.EXT, having the following format:
  2778.  
  2779.           ext=[d:][\path\]program %fe[%w]ext=[d:][\path\]program %fe[%w]
  2780.  
  2781.           ext=     ext=      Is the extension you are defining.
  2782.           d:     d:        Is an optional drive for the program.
  2783.           pathpath      Is an optional path to the program.
  2784.           programprogram   Is the name of the program that gets run.
  2785.           %fe%fe       Is    a    macro    variable    which    becomes    the
  2786.                     currently selected filename.
  2787.           %w%w        Is   an    optional    flag    indicating    to    dCOM
  2788.                     that    a     pause    is     necessary    after    the
  2789.                     program    exits,     to    preserve     its     screen
  2790.                     contents   so    you   can    read   it   before   dCOM
  2791.                     rebuilds its screen.
  2792.  
  2793.      As vaguely  indicated above, the command line of the extension execute
  2794.      file accepts  macro variables.   There  are a  number of  other  macro
  2795.      variables in addition to %FE, and you are welcome to use them, but %FE
  2796.      is normally  enough to  get this  facility to do what it was basically
  2797.      designed to  do.   If you  would like  to poke around into some of the
  2798.      other macro variables, refer to the section titled Macro Variables for
  2799.      more information.
  2800.  
  2801.      There is  no limit  on how many lines of extension definitions you can
  2802.      create.  Also, if the drive and path of the program you are running is
  2803.      not given,  the PATH  will be searched if the program doesn't exist in
  2804.      the current  directory.    Changes  made  to  the  DCOM.EXT  file  are
  2805.      automatically picked  up on  and reloaded  if you edit it using dCOM's
  2806.      text editor.   If you edit the file with another editor, you must exit
  2807.      and rerun  dCOM to  have the  new changes  take effect.   Also, on the
  2808.      technical side,  if the  program name  supplied is  a batch file, dCOM
  2809.  
  2810.  
  2811.                                        3737
  2812.  
  2813.                                            Utility Mode - Extension Execute
  2814.      ----------------------------------------------------------------------
  2815.  
  2816.      will load  another copy  of COMMAND.COM to interpret it, otherwise the
  2817.      program is run directly.
  2818.  
  2819.      For example, DCOM.EXT could contain the following lines:
  2820.  
  2821.           BAS=C:\BASIC\GWBASIC %FE
  2822.           DOC=C:\MS-WORD\WORD %FE
  2823.           ASM=C:\COMPILER\MASM %FN,,%FN;%w
  2824.  
  2825.      With this  example you  could select any file with a BAS extension and
  2826.      press Return  to have GWBASIC load and run it or, select any file with
  2827.      a DOC extension and press Return to run Microsoft Word and edit it or,
  2828.      select any  file with  a ASM  extension and  press Return  to have the
  2829.      Macro Assembler compile it....
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.                                        3838
  2876.  
  2877.                                                Utility Mode - Screen Layout
  2878.      ----------------------------------------------------------------------
  2879.  
  2880.  
  2881.  
  2882.  
  2883.                                  Screen LayoutScreen Layout
  2884.  
  2885.      ,---------------------------------------------------------------,
  2886.      | CURRENT DIRECTORY | The Directory Commander | Date: *1 | Page |
  2887.      | ----------------- | (c) 1989 - Dave Frailey | Time: *2 |  *3  |
  2888.      |         *4        | DAC Micro Systems  R#.# |-----------------|
  2889.      |-------------------`-------------------------| Free Memory: *6 |
  2890.      |  *5                                         | Free Drive:  *7 |
  2891.      |---------------------------------------------------------------|
  2892.      |  *8                                                    |      |
  2893.      |                                                        |      |
  2894.      |                                                        |      |
  2895.      |                                                        |      |
  2896.      |                                                        |      |
  2897.      |                                                        |  *9  |
  2898.      |                                                        |      |
  2899.      |                                                        |      |
  2900.      |                                                        |      |
  2901.      |                                                        |      |
  2902.      |                                                        |      |
  2903.      |                                                        |      |
  2904.      |---------------------------------------------------------------|
  2905.      |  *10                                      |  *11              |
  2906.      `---------------------------------------------------------------'
  2907.  
  2908.      *1*1   Shows the current date held by your computer.
  2909.  
  2910.      *2*2   Shows the current time held by your computer.
  2911.  
  2912.      *3*3   Indicates the  current page  number being  displayed and how many
  2913.           total pages  of directory  entries are  loaded, separated  with a
  2914.           slash.
  2915.  
  2916.      *4*4   Displays the  total number  of files  that were  loaded from  the
  2917.           current drive's  directory and  the sum  of all their file sizes.
  2918.           If there  are any  tagged files,  this will  instead display  the
  2919.           number of tagged files and the sum of their file sizes.
  2920.  
  2921.      *5*5   Shows the default drive and current subdirectory.
  2922.  
  2923.      *6*6   Indicates the amount of conventional memory available to programs
  2924.           run under  dCOM.  This number is affected by the size of any open
  2925.           buffers in  the editor,  the size  of the print spooler's buffer,
  2926.           the space  consumed by  macro keys,  memory used by TSR programs,
  2927.           etc....
  2928.  
  2929.      *7*7   Indicates the amount of disk space free on the default drive.
  2930.  
  2931.      *8*8   This is  where dCOM  displays the  entries read  from the default
  2932.           drive's  current   directory.     Though  it   is  possible   for
  2933.           subdirectories to  have extensions  (the use of which is somewhat
  2934.           rare), for  purposes of  clarity, when an entry is a subdirectory
  2935.           name,  dCOM  displays  a  "<D>"  in  the  column  used  for  file
  2936.           extensions.  If a subdirectory does have an extension, all is not
  2937.  
  2938.  
  2939.                                        3939
  2940.  
  2941.                                                Utility Mode - Screen Layout
  2942.      ----------------------------------------------------------------------
  2943.  
  2944.           lost; dCOM does maintain their full names and, when selected, you
  2945.           will see it in the detail area (*9).  If the current directory is
  2946.           a  subdirectory,   the  first  entry  displayed  will  always  be
  2947.           "PREVIOUS  <D>"   which  represents   the  directory  immediately
  2948.           preceding the subdirectory you are currently in.
  2949.  
  2950.      *9*9   This area only shows when the mouse is active.  It is referred to
  2951.           as the  Sidebar Menu.   The command set displayed here allows you
  2952.           to perform  almost all  of the common file operations (i.e. Copy,
  2953.           Move, Delete,  etc...) needed.   For  more information,  refer to
  2954.           Using dCOM - With a Mouse.
  2955.  
  2956.      *10*10  Shows the  name, size,  date, and  time of the currently selected
  2957.           entry.  If Show File Attributes has been turned on in the utility
  2958.           mode's configuration  menu, the  attribute flags of the currently
  2959.           selected entry will also show here.
  2960.  
  2961.      *11*11  This is where dCOM displays the most recent advisory, warning, or
  2962.           error message  or, for  some  commands,  to  prompt  for  further
  2963.           information.   If dCOM  displays an  error message  here, it will
  2964.           remain displayed  until you  issue another  command or change the
  2965.           currently selected  entry.   There is  no delay  or pausing for a
  2966.           keystroke imposed;  you can  continue business  as  soon  as  you
  2967.           digest the error message.
  2968.  
  2969.           This area  is also  referred to  as the  Drive Select Box because
  2970.           certain modes allow you to move the mouse pointer into this area,
  2971.           and it will temporarily display a list of valid drives for you to
  2972.           select from (e.g. the basic utility mode allows you to log onto a
  2973.           new drive  by moving in this area and clicking the left button on
  2974.           the drive desired).
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.                                        4040
  3004.  
  3005.                                              Utility Mode - Quick Reference
  3006.      ----------------------------------------------------------------------
  3007.  
  3008.  
  3009.  
  3010.  
  3011.                           Utility Mode Quick ReferenceUtility Mode Quick Reference
  3012.  
  3013.        AA -  Alarm Menu             P      P    -  Print  [CTD]
  3014.        CC  -  Copy  [CTD]           R      R  -  Rename  [C]
  3015.        DD  -  Delete  [CTD]         S   S  -  Search Dir
  3016.        EE  -  Edit  [C]             TT  -  Tag  [C]
  3017.        FF  -  Find File             UU  -  Untag All
  3018.        HH  -  Help                  V      V  -  View Mode
  3019.        KK  -  Configuration         W      W  -  Wait Mode
  3020.        LL  -  Log Drive             X      X  -  Exit
  3021.        MM  -  Move  [CTD]           Z      Z  -  Sort Mode
  3022.        NN  -  Next Page
  3023.  
  3024.        ^A^A  -  Advance After Tag    ^P^P  -  Printer Port
  3025.        ^K^K  -  Single Key Prompts   ^T^T  -  Priority Tag  [C]
  3026.        ^O^O  -  Overwrite Warnings   ^V^V  -  View/Clear TSR's
  3027.  
  3028.      Alt-AAlt-A  -  Access Password     Alt-PAlt-P  -  Print System
  3029.      Alt-EAlt-E  -  Edit, No Load       Alt-RAlt-R  -  Read Only  [CT]
  3030.      Alt-HAlt-H  -  Hidden Flag  [CT]   Alt-SAlt-S  -  Search Disk
  3031.      Alt-KAlt-K  -  Edit Macro File     Alt-T   Alt-T  -  Tag All Files
  3032.      Alt-MAlt-M  -  Make Directory      Alt-V   Alt-V  -  View/Set Env
  3033.  
  3034.      HomeHome  -  Select First Entry   ^Home^Home  -  Root Dir
  3035.      EndEnd   -  Select Last Entry    Ret   Ret    -  Execute or ChDir
  3036.      SpaceSpace -  Execute w/opt        Tab   Tab    -  MS-DOS Cmd
  3037.      "/""/"   -  Gosub a Macro File   ".""."    -  Goto a Macro File
  3038.      "-""-"   -  Visual Tree
  3039.  
  3040.  
  3041.                                     Hot KeysHot Keys
  3042.  
  3043.        s^Bs^B  -  Blank Screen & Lock Kbd       s^Cs^C  -  Clear Spooler
  3044.        s^Fs^F  -  Send Form-feed to Printer     s^Ls^L  -  Send Line-feed
  3045.        s+s+   -  Toggle Keypad Plus = Return Mode
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.      ____________________
  3060.      CC -  Operates on currently selected entry.
  3061.      TT -  Operates  on   tagged  files  before  recognizing  the  currently
  3062.        selected entry.
  3063.      DD -  Operates on  the entire  contents of  a subdirectory by selecting
  3064.        its name from the previous directory.
  3065.  
  3066.  
  3067.                                        4141
  3068.  
  3069.                                            Utility Mode - Command Reference
  3070.      ----------------------------------------------------------------------
  3071.  
  3072.  
  3073.  
  3074.  
  3075.                                Command ReferenceCommand Reference
  3076.  
  3077.      Most of the file-oriented commands recognize both tagged files as well
  3078.      as the  currently selected file.  When using a command that recognizes
  3079.      tagged files,  the tagged  files are  used first  and instead  of  the
  3080.      currently selected file.  Also, some commands can reference the entire
  3081.      contents of  a subdirectory  by selecting  the directory's name in its
  3082.      parent directory.  Commands that do indicate so with the words "entire
  3083.      directories".
  3084.  
  3085.      When a  command is  issued that  recognizes tagged files and there are
  3086.      tagged files, the selection bar (which is normally reverse video) will
  3087.      be removed  to help  remind you  that you're dealing with tagged files
  3088.      and not what was currently selected.
  3089.  
  3090.      A - Alarm MenuA - Alarm Menu Displays the  Alarm Menu.   From the alarm menu you may
  3091.                     enter up  to 38  different alarms  (events).  There are
  3092.                     basically two  different  types  of  alarms;  daily  or
  3093.                     calendar.   A daily alarm qualifies based on the day(s)
  3094.                     of the week (Monday Tuesday, etc...).  A calendar alarm
  3095.                     qualifies based  on a  specific date.   When  an  alarm
  3096.                     sounds, the  text you enter for the description flashes
  3097.                     on the  screen (provided  its in  text  mode)  and  the
  3098.                     speaker beeps.   Alarms  are then cancelled by pressing
  3099.                     the Esc  key (which  is discarded).   The  beeping will
  3100.                     automatically time-out after it has sounded 30 times if
  3101.                     not cancelled sooner, but the flashing description will
  3102.                     continue to  display until  actually cancelled with the
  3103.                     Esc  key.     For   more  information,   refer  to  The
  3104.                     Alarm/Event Menu.
  3105.  
  3106.      C - CopyC - Copy       Copies tagged  files,  the  selected  file,  or  entire
  3107.                     directories.   When invoked,  you are prompted where to
  3108.                     copy to.   The destination entered here is identical to
  3109.                     what you  would enter  for the  destination of a MS-DOS
  3110.                     COPY command (including wildcards).
  3111.  
  3112.                     After invoking the copy command, you may use the visual
  3113.                     tree to  select the  destination directory  by pressing
  3114.                     the keypad  "-" (minus)  key or  by clicking  the mouse
  3115.                     left button  on "tree"  in the  sidebar menu.   Another
  3116.                     option is  to move  the mouse  pointer into  the  drive
  3117.                     select box  and click  the left  button  on  the  drive
  3118.                     desired.   If the drive selected has no subdirectories,
  3119.                     copying will  start immediately.   Otherwise,  the tree
  3120.                     will be  invoked for  use in  selecting the destination
  3121.                     subdirectory.
  3122.  
  3123.                     When copying multiple files and the destination entered
  3124.                     does not  resolve to  an existing  directory, a  window
  3125.                     will pop-up that advises that the destination directory
  3126.                     does not  exist.  From this window you may: a) make the
  3127.                     destination directory  and continue,  b)  continue  and
  3128.                     concatenate or,  c) cancel  the copy  command.   If you
  3129.  
  3130.  
  3131.                                        4242
  3132.  
  3133.                                            Utility Mode - Command Reference
  3134.      ----------------------------------------------------------------------
  3135.  
  3136.                     intended  to   copy  the   files  to   the  destination
  3137.                     drive/directory, knowing that the copy command can make
  3138.                     the directory  for you can save some time in not having
  3139.                     to  previously   go  make  it.    If  you  intended  to
  3140.                     concatenate (join)  the files,  and did so, Ctrl-Z end-
  3141.                     of-file markers  on the  end of intermediate ASCII text
  3142.                     files are automatically stripped.
  3143.  
  3144.                     When copying  begins, dCOM  attempts to read in as many
  3145.                     of the  source files  as memory  permits before writing
  3146.                     destination files.   Should  the disk space free on the
  3147.                     destination drive  become insufficient to hold the next
  3148.                     file to  be copied,  a window will pop-up indicating so
  3149.                     and give you the following options: a) change disks and
  3150.                     continue,  b)   change  disks,  delete  all  files  and
  3151.                     continue or, c) abort the copy operation. Selecting the
  3152.                     first or  second options allows you to continue copying
  3153.                     onto one or more diskettes.
  3154.  
  3155.                     If  overwrite   warnings  are  not  enabled  (default),
  3156.                     copying will  overwrite an already existing destination
  3157.                     file of  the same  name without  saying  a  word.    If
  3158.                     overwrite warnings  are enabled,  a window  will pop-up
  3159.                     when an  overwrite is  about to happen and allow you to
  3160.                     a) skip the current file, b) overwrite the current file
  3161.                     and  continue,   c)  overwrite  for  the  rest  of  the
  3162.                     operation or,  d) cancel the copy operation.  Overwrite
  3163.                     warnings are  set  temporarily  using  ^O  -  Overwrite
  3164.                     Warnings or  permanently by  setting the default in the
  3165.                     configuration menu.
  3166.  
  3167.                     Performance  when   copying  to  floppy  disks  can  be
  3168.                     seriously improved  by enabling  a cache  option in the
  3169.                     utility mode's configuration menu.  Without this option
  3170.                     enabled, it's  hard enough  to beat  dCOM's performance
  3171.                     when copying  files, but with it enabled, nothing comes
  3172.                     half as  close when  copying a  large number  of files.
  3173.                     Try it!
  3174.  
  3175.      D - DeleteD - Delete     Deletes tagged  files, the  selected  file,  or  entire
  3176.                     directories.   When invoked,  dCOM will  prompt you for
  3177.                     confirmation before  deleting the  files.    When  this
  3178.                     command is  used to  delete a subdirectory by selecting
  3179.                     its name,  it will  also delete any subdirectories that
  3180.                     are in that directory.
  3181.  
  3182.      E - EditE - Edit       Invokes the  built-in text  editor using  the currently
  3183.                     selected file.  For more information, refer to The Text
  3184.                     Editor.
  3185.  
  3186.      F - FindF - Find       Selects  a  file  using  the  first  character  of  its
  3187.                     filename.   This is a shortcut to quickly selecting the
  3188.                     start of  files beginning  with a certain letter if the
  3189.                     sort  in  effect  is  "Executables  First"  or  "Name -
  3190.                     Extension".
  3191.  
  3192.      H - HelpH - Help       Brings up the help menu.
  3193.  
  3194.  
  3195.                                        4343
  3196.  
  3197.                                            Utility Mode - Command Reference
  3198.      ----------------------------------------------------------------------
  3199.  
  3200.  
  3201.      K - ConfigureK - Configure  Invokes the  utility mode's  configuration  menu  which
  3202.                     allows changes  to the  initial defaults,  some of  the
  3203.                     current operating  characteristics, colors,  and mouse.
  3204.                     For more information, refer to Configuration Menu.
  3205.  
  3206.      L - Log DriveL - Log Drive  Changes the  default drive.    When  invoked,  you  are
  3207.                     prompted for the drive letter of the new drive you want
  3208.                     to change  to.  If you are logged on a floppy drive and
  3209.                     have changed  diskettes, use  this command  to read the
  3210.                     new diskette's directory.  To relog the same drive, you
  3211.                     do not  have to  retype the  drive letter;  select this
  3212.                     command and  just press Return.  You can also log a new
  3213.                     drive with  the mouse  by moving the mouse pointer into
  3214.                     the drive select box (lower right corner of the screen)
  3215.                     and click the left button on the drive desired.
  3216.  
  3217.      M - MoveM - Move       Moves  tagged  files,  the  selected  file,  or  entire
  3218.                     directories to a different drive or subdirectory.  This
  3219.                     can be  very useful in cleaning up or reorganizing your
  3220.                     subdirectories.   If you  are several  directories deep
  3221.                     and the  directory you  want to move to can be accessed
  3222.                     through the  previous directory, you can use  ". ." (as
  3223.                     you  would   to  MS-DOS)   to  represent  the  previous
  3224.                     directory.  For example, ". .\TEMP" would move files to
  3225.                     a directory in the previous directory called TEMP.
  3226.  
  3227.                     When files  are moved  within the  same drive, only the
  3228.                     file directory  entries are moved (not their contents).
  3229.                     When files  are moved  to a different drive, a copy and
  3230.                     delete is actually performed.
  3231.  
  3232.                     After invoking  the move command you may use the visual
  3233.                     tree to  select the  destination directory  by pressing
  3234.                     the keypad  "-" (minus)  key or  by clicking  the mouse
  3235.                     left button  on "tree"  in the  sidebar menu.   Another
  3236.                     option is  to move  the mouse  pointer into  the  drive
  3237.                     select box  and click  the left  button  on  the  drive
  3238.                     desired.   If the drive selected has no subdirectories,
  3239.                     moving will  start immediately.   Otherwise,  the  tree
  3240.                     will be  invoked for  use in  selecting the destination
  3241.                     subdirectory.
  3242.  
  3243.                     If the  destination directory entered does not exist, a
  3244.                     window will  pop-up advising  this and  prompt you:  a)
  3245.                     create the  directory and  continue or,  b) cancel  the
  3246.                     move command.  Knowing that the move command can make a
  3247.                     directory for  you can  save some time in not having to
  3248.                     previously go  make the  directory to  move  the  files
  3249.                     into.
  3250.  
  3251.                     If overwrite warnings are not enabled (default), moving
  3252.                     will overwrite  an already existing destination file of
  3253.                     the same  name without  saying a  word.   If  overwrite
  3254.                     warnings are  enabled, a  window will  pop-up  when  an
  3255.                     overwrite is  about to  happen and allow you to a) skip
  3256.                     the current  file, b)  overwrite the  current file  and
  3257.  
  3258.  
  3259.                                        4444
  3260.  
  3261.                                            Utility Mode - Command Reference
  3262.      ----------------------------------------------------------------------
  3263.  
  3264.                     continue, c)  overwrite for  the rest  of the operation
  3265.                     or, d)  cancel the  move operation.  Overwrite warnings
  3266.                     are set  temporarily using  ^O -  Overwrite Warnings or
  3267.                     permanently by setting the default in the configuration
  3268.                     menu.
  3269.  
  3270.      P - PrintP - Print      Prints tagged  files or  the selected file.  Files that
  3271.                     do  not   contain  an   embedded  escape  sequence  are
  3272.                     considered text  files and  are  automatically  ejected
  3273.                     from the  printer by  appending a form-feed.  Files are
  3274.                     printed based  on their directory size. Any occurrences
  3275.                     of a Ctrl-Z (end-of-file marker) encountered beforehand
  3276.                     will be  ignored and  printed.  If the print spooler is
  3277.                     active, this  command dumps  straight to  the spooler's
  3278.                     buffer.
  3279.  
  3280.      R - RenameR - Rename     Renames the selected file or subdirectory.
  3281.  
  3282.      S - SearchS - Search     Searches the  contents of  the current  directory for a
  3283.                     filename or  substring of  a filename.   If  a match is
  3284.                     found, the  found entry  becomes the currently selected
  3285.                     entry.  The search text entered does not have to be the
  3286.                     complete name  of the  file to search for.  If only one
  3287.                     character was  entered, dCOM would find the first entry
  3288.                     that contained  that same  character somewhere  in  its
  3289.                     name.   For a  search of  the entire drive (or all hard
  3290.                     drives), refer to the Alt-S command.
  3291.  
  3292.      T - TagT - Tag        Toggles the  tagged status  of the  currently  selected
  3293.                     file (directories  can't be  tagged).  The right button
  3294.                     of the  mouse also  performs this  tagging command  and
  3295.                     supports high-speed  dragging.   When a  file is tagged
  3296.                     with this  command, an  intensified  chevron  ("««")  is
  3297.                     displayed right  after its name.  When there are tagged
  3298.                     files, dCOM indicates (in *4 of Screen Layout) how many
  3299.                     files are  tagged and  what the sum of their file sizes
  3300.                     is.   Files tagged  with this  command are processed in
  3301.                     the order  they are displayed.  If you want to override
  3302.                     this and  selectively control the order in which tagged
  3303.                     files are  processed, refer  to ^T - Priority Tag.  For
  3304.                     more general information, refer to Tagging Files.
  3305.  
  3306.      U - UntagU - Untag      Untags any and all files that are tagged.
  3307.  
  3308.      V - View ModeV - View Mode  Displays a  window that allows changing whether entries
  3309.                     with hidden  or system  attributes  are  shown  in  the
  3310.                     current directory.   If  the view  mode includes hidden
  3311.                     entries, they  are displayed with a dot preceding them.
  3312.                     This mode  can be  password protected  before  allowing
  3313.                     hidden files  to show  by  using  the  Alt-A  -  Access
  3314.                     Password command.
  3315.  
  3316.      W - Wait ModeW - Wait Mode  Displays a window that allows changing the current wait
  3317.                     mode.  The wait mode is what controls whether dCOM will
  3318.                     pause after  running a  program (so you can see what it
  3319.                     might  have   displayed)  before   dCOM  continues  and
  3320.                     rebuilds its  screen.   It is  useful to  have the wait
  3321.  
  3322.  
  3323.                                        4545
  3324.  
  3325.                                            Utility Mode - Command Reference
  3326.      ----------------------------------------------------------------------
  3327.  
  3328.                     mode on  when running programs that display information
  3329.                     but don't pause for a keyboard command before they exit
  3330.                     (i.e. CHKDSK displays drive and memory information when
  3331.                     it has  finished).   This command has an automatic mode
  3332.                     which will  work correctly 99% of the time to determine
  3333.                     whether it  should display  the  pause  message.    The
  3334.                     theory is  that if  you execute a program that displays
  3335.                     something but  accepts no input from the keyboard, that
  3336.                     it most  likely needs  to  have  a  pause  before  dCOM
  3337.                     rebuilds its  screen.  Programs that query the keyboard
  3338.                     for input probably will get your permission before they
  3339.                     exit.  The initial setting of the wait mode is governed
  3340.                     by the utility mode's configuration menu.
  3341.  
  3342.      X - ExitX - Exit       Returns control to the program that initially ran dCOM,
  3343.                     usually MS-DOS.  If the print spooler's buffer contains
  3344.                     unprinted data,  the editor  has open buffers, or there
  3345.                     are TSR  programs resident  (which were loaded while in
  3346.                     dCOM), you  will be  warned and  prompted  before  dCOM
  3347.                     actually exits.
  3348.  
  3349.      Z - Sort ModeZ - Sort Mode  Displays a window that allows changing the current sort
  3350.                     method  applied   to  files   read  from   the  current
  3351.                     directory.   The initial  sort mode setting is governed
  3352.                     by the  utility mode's  configuration menu.   Note that
  3353.                     the directory  contents are  not actually "sorted", but
  3354.                     rather  they  are  indexed  using  a  highly  efficient
  3355.                     algorithm.   This technique  allows changing  the  sort
  3356.                     method almost  instantly without  having  to  rearrange
  3357.                     filenames using slower memory accesses and, at the same
  3358.                     time, hang  onto whatever  files may  have been tagged.
  3359.                     The eight possible sort methods are:
  3360.  
  3361.                   NormalNormal   -  The directory is shown exactly the way it was
  3362.                   read.
  3363.                   Executables FirstExecutables First   -   Subdirectories  are shown  first,
  3364.                   executable  files   (.BAT,  .COM,  and  .EXE  extensions)
  3365.                   second, and  other files  third.  Files are sorted within
  3366.                   these categories  by their  extension first and filenames
  3367.                   second.
  3368.                   Name -  ExtensionName -  Extension  -  Subdirectories are shown first, and
  3369.                   then files  are shown  sorted by  their  name  first  and
  3370.                   extension second.
  3371.                   Extension -  NameExtension -  Name  -  Subdirectories are shown first, and
  3372.                   then files  are shown sorted by their extension first and
  3373.                   name second.
  3374.                   Date (Ascending)Date (Ascending)   -  Subdirectories are shown first, and
  3375.                   then files  are shown  sorted by  their date  and time in
  3376.                   ascending order.
  3377.                   Date (Descending)Date (Descending)  -  Subdirectories are shown first, and
  3378.                   then files  are shown  sorted by  their date  and time in
  3379.                   descending order.
  3380.                   Size (Ascending)Size (Ascending)   -  Subdirectories are shown first, and
  3381.                   then files  are shown  sorted by  their size in ascending
  3382.                   order.
  3383.  
  3384.  
  3385.  
  3386.  
  3387.                                        4646
  3388.  
  3389.                                            Utility Mode - Command Reference
  3390.      ----------------------------------------------------------------------
  3391.  
  3392.                   Size (Descending)Size (Descending)  -  Subdirectories are shown first, and
  3393.                   then files  are shown  sorted by their size in descending
  3394.                   order.
  3395.  
  3396.      ^A - Adv After Tag^A - Adv After Tag       Displays a  window that  controls whether the
  3397.                               selection bar  is advanced  to the next entry
  3398.                               after a  tag  command  (T  -  Tag,  or  ^T  -
  3399.                               Priority Tag)  is used.   The initial setting
  3400.                               of this  mode is  controlled by  the  utility
  3401.                               mode's configuration menu.
  3402.  
  3403.      ^C - Abort^C - Abort               Ctrl-C  and  Esc  are  both  trapped  at  the
  3404.                               keypress level.  The difference is that Ctrl-
  3405.                               C is  treated like  an emergency abort.  When
  3406.                               it is  pressed, a small window flashes on the
  3407.                               screen indicating the Ctrl-C was received and
  3408.                               the current  operation will  abort as soon as
  3409.                               any  DOS   function   request   in   progress
  3410.                               terminates.   If you were copying files, this
  3411.                               will  probably  leave  the  destination  file
  3412.                               incomplete, where using Esc wouldn't.
  3413.  
  3414.      ^K - Sngl Key Prompts^K - Sngl Key Prompts    Displays  a   window  that   allows  changing
  3415.                               whether various  prompts throughout  dCOM and
  3416.                               the Text Editor require the Return key before
  3417.                               they are  enacted (e.g.  L - Log Drive).  The
  3418.                               initial setting of this mode is controlled by
  3419.                               the utility mode's configuration menu.
  3420.  
  3421.      ^O - Ovrwrite Warnings^O - Ovrwrite Warnings   Displays  a   window  that   allows  changing
  3422.                               whether  dCOM  will  check  for  and  display
  3423.                               overwrite  warnings   during  copy  and  move
  3424.                               operations.  The initial setting of this mode
  3425.                               is   controlled   by   the   utility   mode's
  3426.                               configuration menu.
  3427.  
  3428.      ^P - Printer Port^P - Printer Port        Displays a  window that  selects the  printer
  3429.                               port dCOM  uses for  any  of  its  own  print
  3430.                               operations  (LPT1,  LPT2,  or  LPT3).    This
  3431.                               setting has  no bearing  on what  the rest of
  3432.                               the system  uses.   If you  want to  redirect
  3433.                               output for  the entire  system, refer  to the
  3434.                               Alt-P  -  Print  System/Spooler  Menu.    The
  3435.                               initial setting of this mode is controlled by
  3436.                               the utility mode's configuration menu.
  3437.  
  3438.                               Note:   It is  actually possible to print two
  3439.                               files at  the same  time by  giving the Print
  3440.                               Spooler enough  memory to  swallow the  first
  3441.                               file, change  the port  to a  second printer,
  3442.                               and then  print the second file.  The Spooler
  3443.                               will print  the first  file in the background
  3444.                               and pass  print requests  for the second file
  3445.                               on  to  BIOS  because  it  is  not  the  same
  3446.                               destination  port   as  what   is   currently
  3447.                               printing from the spooler's buffer.
  3448.  
  3449.  
  3450.  
  3451.                                        4747
  3452.  
  3453.                                            Utility Mode - Command Reference
  3454.      ----------------------------------------------------------------------
  3455.  
  3456.      ^T - Priority Tag^T - Priority Tag        Toggles the  priority tagged  status  of  the
  3457.                               currently selected file (directories can't be
  3458.                               tagged).   When a  file is  tagged with  this
  3459.                               command,  an   intensified  arrow   ("")  is
  3460.                               displayed right  after its  name.  When there
  3461.                               are tagged  files, dCOM  indicates (in  *4 of
  3462.                               Screen Layout)  how many files are tagged and
  3463.                               what the  sum of  their file sizes is.  Files
  3464.                               tagged with this command are processed in the
  3465.                               order they  are tagged  and before  any files
  3466.                               tagged with a normal tag (T - Tag File).  For
  3467.                               more information, refer to Tagging Files.
  3468.  
  3469.      ^V - View/Clear TSR's^V - View/Clear TSR's    This command  displays the  names of  all TSR
  3470.                               programs that have been loaded since dCOM was
  3471.                               run and  how much  memory they are consuming.
  3472.                               Selecting the  Clear option removes all TSR's
  3473.                               indicated and  restores dCOM's free memory to
  3474.                               its original  state.   If your DOS Version is
  3475.                               2.x  or  the  TSR  released  its  environment
  3476.                               segment  (most  of  them  don't),  then  only
  3477.                               question marks will show for the TSR's name.
  3478.  
  3479.      Alt-A - Access Pass.Alt-A - Access Pass.     Sets or removes the access password.  If set,
  3480.                               the access  password  is  required  for  such
  3481.                               things  as  viewing  hidden  files,  entering
  3482.                               configuration  menus,  unblanking  a  blanked
  3483.                               screen (Shift-Ctrl-B), and escaping the macro
  3484.                               menu mode  (if the  "/MP" command line switch
  3485.                               is specified).
  3486.  
  3487.                               If the  password is  currently not  set,  the
  3488.                               text entered  becomes the new password (after
  3489.                               entering it  a second  time to make sure dCOM
  3490.                               uses what  you thought  you typed).   If  the
  3491.                               password  is   set,  entering   the   correct
  3492.                               password will disable password checking.
  3493.  
  3494.                               The password  is not  case sensitive  and  is
  3495.                               automatically  saved.    If  you  forget  the
  3496.                               password, your  only recourse  is  to  delete
  3497.                               DCOM.CFG.
  3498.  
  3499.      Alt-EAlt-E - Edit, No LoadEdit, No Load    Invokes the  text editor  without regard  for
  3500.                               whatever   entry   is   currently   selected.
  3501.                               Editing resumes  as you last left the editor.
  3502.                               This can  be useful  to edit a new file or to
  3503.                               return to  the editor  after  it  was  exited
  3504.                               using Alt-Q.   For more information, refer to
  3505.                               The Text Editor.
  3506.  
  3507.      Alt-HAlt-H - Hidden AttribHidden Attrib    Toggles the hidden attribute of the currently
  3508.                               selected file,  tagged files,  or  directory.
  3509.                               (Hiding directories  can be a very convenient
  3510.                               way to discreetely deal with sensitive files,
  3511.                               since viewing  their names  can  be  password
  3512.                               protected  with  Alt-A.)    When  using  this
  3513.  
  3514.  
  3515.                                        4848
  3516.  
  3517.                                            Utility Mode - Command Reference
  3518.      ----------------------------------------------------------------------
  3519.  
  3520.                               command with  tagged files,  the  on  or  off
  3521.                               state  of   the  toggle   is  determined   by
  3522.                               inverting the  hidden attribute  of the first
  3523.                               tagged file  encountered.   All tagged  files
  3524.                               found subsequent  receive the  inverted state
  3525.                               regardless of their current state.
  3526.  
  3527.      Alt-KAlt-K - Edit Macro FileEdit Macro File  Displays a menu of existing macro files along
  3528.                               with  an   option  to   start  a   new  file.
  3529.                               Selecting an  existing macro  file loads  the
  3530.                               text editor  with that  file.   Selecting the
  3531.                               new file option loads the text editor with an
  3532.                               empty buffer.   After  you edit  a new  macro
  3533.                               file and  go to  save it,  the editor's Alt-W
  3534.                               command will  automatically use  the  correct
  3535.                               Home Directory  path to save the file to, but
  3536.                               you  must   remember  to   append  a   ".MAC"
  3537.                               extension onto  the filename  entered.    For
  3538.                               more information, refer to The Macro Keys.
  3539.  
  3540.      Alt-MAlt-M - Make DirMake Dir         Makes  a  new  subdirectory  in  the  current
  3541.                               directory.
  3542.  
  3543.      Alt-PAlt-P - Print SpoolerPrint Spooler    Invokes the  print spooler/print system menu.
  3544.                               From this  menu you  can clear  the  spooler,
  3545.                               enable the  spooler, change  its buffer size,
  3546.                               and control any system-wide redirection.  For
  3547.                               more    information,     refer    to    Print
  3548.                               System/Spooler.
  3549.  
  3550.      Alt-RAlt-R - Read AttribRead Attrib      Toggles  the   read-only  attribute   of  the
  3551.                               currently  selected  file  or  tagged  files.
  3552.                               (Setting  the   read-only  attribute   is   a
  3553.                               convenient way  to ensure  a  file  won't  be
  3554.                               accidentally  deleted.)     When  using  this
  3555.                               command with  tagged files,  the  on  or  off
  3556.                               state  of   the  toggle   is  determined   by
  3557.                               inverting the  hidden attribute  of the first
  3558.                               tagged file  encountered.   All tagged  files
  3559.                               found subsequent  receive the  inverted state
  3560.                               regardless of their current state.  (To see a
  3561.                               file's attributes,  the Show  File Attributes
  3562.                               option in  the utility  mode's  configuration
  3563.                               menu must be turned on.)
  3564.  
  3565.      Alt-SAlt-S - Search DiskSearch Disk      Searches  all   directories  of  the  default
  3566.                               drive.   When invoked,  you are  prompted for
  3567.                               the filename  to search  for.  Unlike the "S"
  3568.                               command, you  must fully specify the filename
  3569.                               or use  wildcards.  If you want to search all
  3570.                               non-removeable (hard disk) drives, prefix the
  3571.                               text entered  with a  colon (i.e.  ":*.bak").
  3572.                               If you  want to  search all  directories on a
  3573.                               different drive than the default drive, start
  3574.                               the text with that drive (i.e. "c:*.bak").
  3575.  
  3576.  
  3577.  
  3578.  
  3579.                                        4949
  3580.  
  3581.                                            Utility Mode - Command Reference
  3582.      ----------------------------------------------------------------------
  3583.  
  3584.                               After  the   search  text  is  entered,  dCOM
  3585.                               proceeds to  search for  all files that match
  3586.                               the  text   entered.     Matching  files  are
  3587.                               immediately  displayed  and  you  may  cancel
  3588.                               continued searching  after the  one  you  are
  3589.                               looking for  is displayed by pressing the Esc
  3590.                               key.   After all  searching is  completed, if
  3591.                               you then  select one  and press  Return, dCOM
  3592.                               will change  drives and/or directories to the
  3593.                               directory holding  that file  and  that  file
  3594.                               becomes the currently selected entry.
  3595.  
  3596.                               Note:   Search Disk  will not  search  hidden
  3597.                               directories or  find hidden files if the view
  3598.                               mode is not set to show hidden files.
  3599.  
  3600.      Alt-TAlt-T - Tag All FilesTag All Files    Tags all  files in the current directory that
  3601.                               are not already tagged.
  3602.  
  3603.      Alt-VAlt-V - View/Set EnvView/Set Env     Displays  and   allows  changes   to   dCOM's
  3604.                               environment.   When dCOM is first invoked, it
  3605.                               makes a  copy of the environment passed to it
  3606.                               by MS-DOS,  using the same size as the one in
  3607.                               use by  MS-DOS unless  the  /E  command  line
  3608.                               switch  was  specified  when  dCOM  was  run.
  3609.                               Programs run  under dCOM are passed a copy of
  3610.                               this environment.   Also,  any usage  of  the
  3611.                               macro key SET command will be reflected here.
  3612.                               Invoking this command is identical to the MS-
  3613.                               DOS SET  command.   When you  exit dCOM,  any
  3614.                               changes to this environment are lost.
  3615.  
  3616.      "-" - Visual Tree"-" - Visual Tree        Invokes the  visual tree allowing full access
  3617.                               to all  of its  functions such as:  logging a
  3618.                               different drive,  changing  directories,  and
  3619.                               copying,   moving,    and   deleting   entire
  3620.                               directories.   Invoking the tree in this mode
  3621.                               can also  be  performed  with  the  mouse  by
  3622.                               clicking the  left button  on "tree"  in  the
  3623.                               sidebar menu.  For more information, refer to
  3624.                               The Visual Tree.
  3625.  
  3626.      "." - Goto Macro"." - Goto Macro         Displays a  window of  existing  macro  files
  3627.                               which allows  permanently changing the active
  3628.                               macro file.   If  one of these macro files is
  3629.                               then  selected,   it  becomes  the  currently
  3630.                               active macro file and a menu of its macro key
  3631.                               titles is  then displayed.   When a different
  3632.                               macro file  is active than the one originally
  3633.                               active when  you first  ran  dCOM  (which  is
  3634.                               usually DCOM.MAC),  the name of the currently
  3635.                               active macro  file  is  constantly  displayed
  3636.                               (highlighted) in  the bottom  right corner of
  3637.                               the screen.   This is to help remind you that
  3638.                               a different set of macro keys are active from
  3639.                               that of  which you're  probably used to.  For
  3640.                               more information, refer to The Macro Keys.
  3641.  
  3642.  
  3643.                                        5050
  3644.  
  3645.                                            Utility Mode - Command Reference
  3646.      ----------------------------------------------------------------------
  3647.  
  3648.  
  3649.      "/" - Gosub Macro"/" - Gosub Macro        Displays a  window of  existing  macro  files
  3650.                               which allows  temporarily changing the active
  3651.                               macro file.   If  one of these macro files is
  3652.                               then selected,  it  temporarily  becomes  the
  3653.                               active macro file and a menu of its macro key
  3654.                               titles is  then displayed.  After you execute
  3655.                               one of  its macro  keys or  if you escape the
  3656.                               menu,   the    active   macro    file    will
  3657.                               automatically revert  back to  what  was  the
  3658.                               active macro  file when  you  activated  this
  3659.                               command.   For more information, refer to The
  3660.                               Macro Keys.
  3661.  
  3662.      ReturnReturn         This key  can be  thought of as an execute key.  If the
  3663.                     currently selected  entry is  a subdirectory, dCOM will
  3664.                     change the  current directory  to it.  If the currently
  3665.                     selected entry is a directly executable file (COM, EXE,
  3666.                     or BAT  extension), the program will be loaded and run.
  3667.                     Otherwise, the  contents of what was read from DCOM.EXT
  3668.                     is checked to see if the currently selected file has an
  3669.                     executable extension  (refer to  Extension Execute  for
  3670.                     more information).   When  the  mouse  left  button  is
  3671.                     clicked on  a file, it has this same effect as pressing
  3672.                     the Return key.  On the technical side, if a batch file
  3673.                     is executed,  another copy  of COMMAND.COM is loaded to
  3674.                     interpret it;  COM and  EXE files,  however, are loaded
  3675.                     and run directly.
  3676.  
  3677.      Space BarSpace Bar      Is similar  to the  return  key  when  executing  files
  3678.                     except that dCOM will stop to let you add parameters or
  3679.                     switches before executing the program.
  3680.  
  3681.      Plus KeyPlus Key       The keypad "+" key can be configured to act as a Return
  3682.                     key both  in dCOM  and in programs run under dCOM.  Its
  3683.                     current mode can be toggled on-the-fly using the Shift-
  3684.                     Plus hot-key.  Setting the initial default mode is done
  3685.                     in the  utility mode's  configuration menu.   For  more
  3686.                     information, refer  to  Hot-Keys  and  Utility  Mode  -
  3687.                     Configuration Menu.
  3688.  
  3689.      EscEsc            If the  Macro Key Menu Mode is active, Esc drops in and
  3690.                     out of  the Menu Mode.  Otherwise, Esc aborts a command
  3691.                     or action.
  3692.  
  3693.      TabTab            Prompts for an MS-DOS command.  Entering a command here
  3694.                     reacts identically  as if  it were  typed at the normal
  3695.                     DOS command prompt.  If the Tab key is pressed again to
  3696.                     this prompt,  the names of all tagged files are brought
  3697.                     down into  the prompt  at the  current cursor position.
  3698.                     If no  files are tagged, the currently selected file is
  3699.                     used  instead.    Like  with  other  prompts  accepting
  3700.                     multiple characters, the up and down arrows can be used
  3701.                     to scroll through the last commands issued.
  3702.  
  3703.      BackspaceBackspace      Pops-up a  quick reference menu of the Macro Key titles
  3704.                     for the  active macro  file.   From this  menu you  can
  3705.  
  3706.  
  3707.                                        5151
  3708.  
  3709.                                            Utility Mode - Command Reference
  3710.      ----------------------------------------------------------------------
  3711.  
  3712.                     execute a  macro key by either pressing the appropriate
  3713.                     function key, select the desired macro using the cursor
  3714.                     keys and  then press  Return or,  click the  mouse left
  3715.                     button on  the macro  desired.   If you  just  want  to
  3716.                     return back  to the utility mode, press Backspace again
  3717.                     or press Esc.
  3718.  
  3719.      F0F0             On  Zenith   Z100  series  microcomputers,  allows  the
  3720.                     issuing of alternate key commands.
  3721.  
  3722.      HomeHome           Selects the  first entry  on the  first page.   This is
  3723.                     normally useful  when you are in a subdirectory and you
  3724.                     want to  get back to the preceding directory ("PREVIOUS
  3725.                     <D>" will always be the first entry of the first page).
  3726.  
  3727.      Ctrl-HomeCtrl-Home      Changes directories to the Root Directory.
  3728.  
  3729.      EndEnd            Selects the last entry on the last page.
  3730.  
  3731.      PgUpPgUp           Displays the  previous page  of  directory  entries  if
  3732.                     existent.
  3733.  
  3734.      PgDnPgDn           Displays  the   next  page   of  directory  entries  if
  3735.                     existent.
  3736.  
  3737.      Up/Dn ArrowsUp/Dn Arrows   Normally the  up and down arrow keys serve to just move
  3738.                     the selection  bar from  file to file.  However, when a
  3739.                     command is  issued  that  then  prompts  for  something
  3740.                     requiring more  than one  character of  input (i.e. the
  3741.                     Tab key  asks for an MS-DOS command or the copy command
  3742.                     prompts for  a destination), the up and down arrows now
  3743.                     function to  scroll through previous commands issued to
  3744.                     that prompt.   These  previous commands are efficiently
  3745.                     stored in a 512 byte community buffer.  This means that
  3746.                     while in  the MS-DOS  command prompt,  you  can  scroll
  3747.                     through as many of the last responses issued as the 512
  3748.                     bytes will  allow.   Note:   you must first scroll back
  3749.                     with the  up arrow  before you  can scroll forward with
  3750.                     the down arrow.
  3751.  
  3752.                     Knowing this  capability exists  can seriously  augment
  3753.                     your use  of the  commands that  support this  feature.
  3754.                     Sometimes  its  a  lot  easier  to  recall  a  previous
  3755.                     command, cursor  over and  change a  couple characters,
  3756.                     then to  retype  the  line  all  over  again.    (Hint:
  3757.                     Remember to  use the  End key  to position  the  cursor
  3758.                     after the last visible character already in the field.)
  3759.  
  3760.      F1 - sF10F1 - sF10      Execute a  macro key.  Refer to The Macro Keys for more
  3761.                     information.
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.                                        5252
  3772.  
  3773.                                           Utility Mode - Configuration Menu
  3774.      ----------------------------------------------------------------------
  3775.  
  3776.  
  3777.  
  3778.  
  3779.                         Utility Mode Configuration MenuUtility Mode Configuration Menu
  3780.  
  3781.      The utility  mode's configuration  menu allows  changing  the  default
  3782.      values of  a lot  of the operating modes and it also directly controls
  3783.      some of  the current  operating modes.   It  is somewhat  important to
  3784.      understand that  editing a  mode's "default"  value will  not have any
  3785.      affect until  the next  time you  run dCOM  (provided  you  save  your
  3786.      changes).   However, editing  a mode's  "current" value  will have  an
  3787.      immediate affect on the operation of that mode.
  3788.  
  3789.      After editing  any portion  of the  configuration menu,  you  will  be
  3790.      presented with an additional option to "S - Save" the changes you have
  3791.      made.   If you  are confident  with the  changes you made, then a good
  3792.      habit to  be in  is to  immediately perform  the  save  option  before
  3793.      exiting the  configuration menu.   If  you think  you  really  screwed
  3794.      things up,  you can  revert back  to the  way it was the last time you
  3795.      saved it by exiting dCOM and then re-running it.
  3796.  
  3797.      dCOM's configuration menu has two submenus: M-Mouse and D-Drives.  The
  3798.      Mouse submenu  enables and  controls mouse  sensitivity.   The  Drives
  3799.      submenu is  used to  override any  incorrect assumptions dCOM may make
  3800.      concerning the  number and  type of  disk drives  you  have  attached.
  3801.      Normally the  Drives submenu  will not require any modification except
  3802.      possibly if  you are using MS-DOS Version 2.x or you are a Zenith Z100
  3803.      user.
  3804.  
  3805.      Although dCOM's  configuration menu  has two  submenus, the  option to
  3806.      Save is  always presented at the main configuration prompt.  Using the
  3807.      save  option   only  saves   changes  made   to  the   utility  mode's
  3808.      configuration menu.   If  there have  been  changes  to  the  editor's
  3809.      configuration or  the print  spooler, their changes must be saved from
  3810.      their respective  menus.   This allows temporary changes (not meant to
  3811.      be permanent)  to be  made to  any one of the configuration menus, and
  3812.      keep it like that even if a save is made from another menu.
  3813.  
  3814.  
  3815.  
  3816.  
  3817.  
  3818.  
  3819.  
  3820.  
  3821.  
  3822.  
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835.                                        5353
  3836.  
  3837.                                           Utility Mode - Configuration Menu
  3838.      ----------------------------------------------------------------------
  3839.  
  3840.  
  3841.  
  3842.  
  3843.                         Configuration Menu Screen LayoutConfiguration Menu Screen Layout
  3844.  
  3845.      ,-----------------------------------------,  ,------------------,
  3846.      |     CONFIGURATION     | CURENT |  DEFLT |  |  GENERAL COLORS  |
  3847.      |-----------------------+--------+--------|  |------------------|
  3848.      | Directory Sort Mode.. |   *1   |   *16  |  | Background.. *24 |
  3849.      | Show Hidden Files.... |   *2   |   *17  |  | Foreground.. *25 |
  3850.      | Wait After Execute... |   *3   |   *18  |  | dCOM Lines.. *26 |
  3851.      | Keypad Plus = Ret.... |   *4   |   *19  |  | Menu Lines.. *27 |
  3852.      | Single Key Prompts... |   *5   |   *20  |  | Misc Lines.. *28 |
  3853.      | Advance After Tag.... |   *6   |   *21  |  `------------------'
  3854.      | Overwrite Warnings... |   *7   |   *22  |
  3855.      | Printer Output To.... |   *8   |   *23  |  ,------------------,
  3856.      | Sound Suppression.... |   *9   | :::::: |  | FILE AREA COLORS |
  3857.      | Show File Attributes. |   *10  | :::::: |  |------------------|
  3858.      | Use Solid Lines...... |   *11  | :::::: |  | Background.. *29 |
  3859.      | EGA Palette Mode..... |   *12  | :::::: |  | Directory... *30 |
  3860.      | Cache Floppy I/O..... |   *13  | :::::: |  | Exec File... *31 |
  3861.      | Screen Saver Minutes. |   *14  | :::::: |  | Other File.. *32 |
  3862.      | Sav Scn out of dCOM.. |   *15  | :::::: |  | Selec Bar... *33 |
  3863.      `-----------------------------------------'  `------------------'
  3864.  
  3865.      -----------------------------------------------------------------
  3866.      E-Edit, C-Colors, M-Mouse, D-Drives, X-Exit:
  3867.  
  3868.  
  3869.  
  3870.      Current modes  *1*1 through  *8*8 are  displayed only to show their mode's
  3871.      current setting.   The  configuration menu will not edit them directly
  3872.      and has  no control  over them  other than  to establish their initial
  3873.      default values.   Controlling  their  current  values  is  done  using
  3874.      various commands from back within the utility mode itself.
  3875.  
  3876.      Current modes  *9*9 through *15*15 are edited by the configuration menu and
  3877.      have  an   immediate  affect   on  their  respective  features.    The
  3878.      configuration menu  is the  only means  with  which  to  change  their
  3879.      values.   What is  entered and  saved for  these modes determines both
  3880.      their current values and their future default values.
  3881.  
  3882.      Default modes *16*16 through *23*23 are edited by the configuration menu but
  3883.      have no  immediate effect  when changed;  they are only used when dCOM
  3884.      is first run to initially set their respective current modes (i.e. *16
  3885.      sets dCOM's  initial Z - Sort Mode).   Establish items *16 through *23
  3886.      as you  would like  dCOM initially  configured when  it is  first run.
  3887.      Note:   You must use the Save option when done editing for the changes
  3888.      to become permanent.
  3889.  
  3890.  
  3891.      *1   Directory Sort Mode  *1   Directory Sort Mode  (Current)   -  Shows the current value of the
  3892.           Z - Sort Mode utility mode command.
  3893.  
  3894.      *2   Show Hidden  Files   *2   Show Hidden  Files   (Current)   -  Shows the current value of the
  3895.           V - View Mode utility mode command.
  3896.  
  3897.  
  3898.  
  3899.                                        5454
  3900.  
  3901.                                           Utility Mode - Configuration Menu
  3902.      ----------------------------------------------------------------------
  3903.  
  3904.      *3   Wait After  Execute  *3   Wait After  Execute  (Current)  -  Shows the current value of the
  3905.           W - Wait Mode utility mode command.
  3906.  
  3907.      *4   Keypad Plus  = Ret   *4   Keypad Plus  = Ret   (Current)  -  Indicates the current state of
  3908.           whether the  keypad "+"  key generates  a Return  or  a  "+",  as
  3909.           controlled by  the Shift-Plus hot-key (refer to Hot-Keys for more
  3910.           information).
  3911.  
  3912.      *5   Single Key  Prompts  *5   Single Key  Prompts  (Current)  -  Shows the current value of the
  3913.           ^K - Single Key Prompts utility mode command.
  3914.  
  3915.      *6   Advance After  Tag   *6   Advance After  Tag   (Current)  -  Shows the current value of the
  3916.           ^A - Advance After Tag utility mode command.
  3917.  
  3918.      *7   Overwrite Warnings   *7   Overwrite Warnings   (Current)  -  Shows the current value of the
  3919.           ^O - Overwrite Warnings utility mode command.
  3920.  
  3921.      *8   Printer Output  To   *8   Printer Output  To   (Current)  -  Shows the current value of the
  3922.           ^P - Printer Port utility mode command.
  3923.  
  3924.      *9   Sound Suppression  *9   Sound Suppression  (Current)  -  Controls whether dCOM will sound
  3925.           its various  bells and whistles throughout your use of dCOM.  The
  3926.           only thing exempt from this is a sounding alarm entered via the A
  3927.           - Alarm Menu.
  3928.  
  3929.      *10  Show File Attributes  *10  Show File Attributes  (Current)  -  Controls whether the selected
  3930.           file's attributes are shown along with its date, time, and size -
  3931.           down on  the left portion of the 24th screen line.  Possible flag
  3932.           values are:  A-Archive, D-Directory,  S-System, H-Hidden,  and R-
  3933.           Read Only.
  3934.  
  3935.      *11  Use Solid  Lines   *11  Use Solid  Lines   (Current)  -  Controls whether screen and menu
  3936.           borders use  PC Line  drawing characters or heavier (solid) block
  3937.           characters.   If Solid Lines are enabled, *26 and *27 control the
  3938.           border colors  and *28  controls the miscellaneous PC lines drawn
  3939.           within the  borders.  If Solid Lines are not enabled, *26 and *27
  3940.           control the border colors and *28 has no effect.
  3941.  
  3942.      *12  EGA Palette  Mode   *12  EGA Palette  Mode   (Current)  -  Controls whether dCOM activates
  3943.           and uses  the extended  set of 64 EGA Palette colors (provided an
  3944.           EGA/VGA compatible  video card  is installed).   If  this mode is
  3945.           disabled, dCOM  will use  the standard  16 CGA colors of old.  If
  3946.           this mode  is enabled,  the entire vibrant set of 64 extended EGA
  3947.           colors are  used and  displayed.   There is one drawback to using
  3948.           EGA colors  though.   TSR programs  called up  while dCOM has the
  3949.           palette remapped  will probably  inherit a  much different set of
  3950.           colors than that which they were designed to use.
  3951.  
  3952.      *13  Cache Floppy  I/O   *13  Cache Floppy  I/O   (Current)   -   Controls whether  dCOM caches
  3953.           floppy disk  accesses to  track 0  during I/O intensive functions
  3954.           such as  copying, moving,  deleting, etc....   If  the  cache  is
  3955.           enabled, dCOM  will always  flush the  cache after  a  particular
  3956.           function finishes.   Enabling  this cache  can produce astounding
  3957.           improvements when  copying many  files to  a floppy  disk.  Since
  3958.           track 0  holds the  boot, FAT,  and directory records on a floppy
  3959.           disk, every  time a  file is  written (without caching), the disk
  3960.           heads have  to move  from where  they were when writing finishes,
  3961.  
  3962.  
  3963.                                        5555
  3964.  
  3965.                                           Utility Mode - Configuration Menu
  3966.      ----------------------------------------------------------------------
  3967.  
  3968.           back to  track 0  to update  the directory and FAT entries.  This
  3969.           would mean  that if you were copying 40 tagged files to a floppy,
  3970.           it would mean 40 trips back and forth for the disk heads (usually
  3971.           producing quite  a racket).   With  caching active, they stay put
  3972.           (after the directory and FAT sectors have been read once) so they
  3973.           can immediately  begin writing  again.  Improvements over MS-DOS'
  3974.           XCOPY  command   have  been   noted  at   better  than  3  times.
  3975.           Improvements over  MS-DOS' COPY command have been noted at better
  3976.           than 7  times.   It should  be noted  though, that this technique
  3977.           mainly benefits write accesses to a floppy disk's root directory.
  3978.           Write accesses to floppy disk subdirectories tend to lose some of
  3979.           this effect  since the  area of  the disk  holding the  directory
  3980.           entries will probably not be on track 0.
  3981.  
  3982.      *14  Screen Saver  Minutes   *14  Screen Saver  Minutes   (Current)  -  Controls whether the screen
  3983.           saver is  active,  and  if  so,  how  many  minutes  of  keyboard
  3984.           inactivity (or  mouse inactivity)  will trigger  a  screen  save.
  3985.           Valid values are between 1 and 59 minutes.  Enter a value of zero
  3986.           to disable  the screen saver.  To re-enable a saved screen, press
  3987.           any keyboard key (which is discarded) or move the mouse.
  3988.  
  3989.      *15  Save Screen  out of  dCOM   *15  Save Screen  out of  dCOM   (Current)   -   Controls whether  the
  3990.           screen saver,  if active,  will work when dCOM is running another
  3991.           program.   If this  field is disabled, the screen saver will only
  3992.           work while dCOM is the active process (program).  Since dCOM goes
  3993.           to the  trouble of detecting mouse activity as a sign of operator
  3994.           presence (unlike  other screen  savers), it has to chain into the
  3995.           mouse  interrupt  handler.    However,  some  click-type  menuing
  3996.           programs  rely  on  scanning  a  portion  of  the  current  mouse
  3997.           interrupt vector  to  determine  whether  the  mouse  driver  has
  3998.           actually been  installed.  In most cases, this will test false if
  3999.           dCOM has  the vector  (there are  better ways to do this) and the
  4000.           menu program will fail to load.  If you use one of these programs
  4001.           and encounter  this problem,  disabling this  field (so that dCOM
  4002.           won't save  the screen  when running  another program) will cause
  4003.           dCOM to  rearrange the  mouse interrupt  vectors before and after
  4004.           running a program, and they should then work properly.
  4005.  
  4006.      *16  Directory Sort  Mode *16  Directory Sort  Mode   (Default)  -  Controls the initial setting
  4007.           of Z - Sort Mode  when dCOM  is first  run.   Its possible values
  4008.           are:
  4009.  
  4010.                NONENONE    The directory is shown exactly the way it was read.
  4011.                EXECUTEXECUT  Subdirectories are  shown  first,  executable  files
  4012.                        second,  and   other  files  third.    Within  these
  4013.                        categories, files are sorted using EXT+FN.
  4014.                FN+EXTFN+EXT  Subdirectories are shown first, then files are shown
  4015.                        sorted by their name first and extension second.
  4016.                EXT+FN  EXT+FN  Subdirectories are shown first, then files are shown
  4017.                        sorted by their extension first and name second.
  4018.                DATE-A  DATE-A  Subdirectories are shown first, then files are shown
  4019.                        sorted by their date and time in ascending order.
  4020.                DATE-D  DATE-D  Subdirectories are shown first, then files are shown
  4021.                        sorted by their date and time in descending order.
  4022.                SIZE-A  SIZE-A  Subdirectories are shown first, then files are shown
  4023.                        sorted by their size in ascending order.
  4024.  
  4025.  
  4026.  
  4027.                                        5656
  4028.  
  4029.                                           Utility Mode - Configuration Menu
  4030.      ----------------------------------------------------------------------
  4031.  
  4032.                SIZE-D  SIZE-D  Subdirectories are shown first, then files are shown
  4033.                        sorted by their size in descending order.
  4034.  
  4035.      *17  Show Hidden  Files *17  Show Hidden  Files  (Default)  -  Controls the initial setting of
  4036.           V - View Mode when dCOM is first run.  Its possible values are:
  4037.  
  4038.                NORMALNORMAL  The standard directory is shown.
  4039.                HIDDENHIDDEN  Both normal  and hidden/system  files  show  in  the
  4040.                        directory.
  4041.  
  4042.      *18  Wait After Execute *18  Wait After Execute  (Default)  -  Controls the initial setting of
  4043.           W - Wait Mode when  dCOM is  first run.   The possible values are
  4044.           either ON, OFF, or AUTO.  A pause is necessary after running some
  4045.           programs (which don't ask you anything before they exit), so that
  4046.           you can  view the  display before  dCOM rebuilds its screen.  The
  4047.           AUTO setting  causes dCOM  to make  a automatic  determination of
  4048.           whether the  program displayed  something but didn't ask for your
  4049.           input before  exiting.  Note: The AUTO option is not supported on
  4050.           Z100 computers.
  4051.  
  4052.      *19  Keypad Plus  = Ret  *19  Keypad Plus  = Ret  (Default)    -  Controls the initial setting of
  4053.           whether the  keypad "+"  key generates a Return or a "+".  Having
  4054.           the keypad  plus key act as a Return key can be handy if you have
  4055.           an 84  key keyboard  and little  use  for  the  key  to  actually
  4056.           generate the  plus character.   Enabling the plus key to act as a
  4057.           Return key  may prove  to aide  quite a bit in letting you cursor
  4058.           around menu's  and screens,  change directories or run programs -
  4059.           just with one hand on the keypad.
  4060.  
  4061.      *20  Single Key Prompts  *20  Single Key Prompts  (Default)  -  Controls the initial setting of
  4062.           the ^K - Single  Key Prompts utility mode command.  All of dCOM's
  4063.           1st generation  commands (top level) are already single key (dCOM
  4064.           reacts as soon as you press they key, you don't have to press the
  4065.           Return key).   What  the ^K - Single key Prompts command controls
  4066.           is whether  various prompts  that come up after that will require
  4067.           the Return  key before  proceeding.  For instance, when you press
  4068.           "L" to  log onto  a different  drive.   If you  have  single  key
  4069.           prompts enabled,  all you  will have to do is press the letter of
  4070.           the drive  you want  to log onto.  If you have single key prompts
  4071.           disabled, you  would have  to press  the drive's  letter and then
  4072.           press Return.
  4073.  
  4074.      *21  Advance After  Tag  *21  Advance After  Tag  (Default)  -  Controls the initial setting of
  4075.           the ^A - Advance  After Tag  utility mode  command.    What  this
  4076.           command  does   is  control   whether  the   selection  bar  will
  4077.           automatically move  to the  next  file  after  you  tag  a  file.
  4078.           Enabling this  feature saves having to press the down arrow after
  4079.           each time  you tag  a file.   However,  some people  who are both
  4080.           ambidextrous and  rather adept  at using the keypad probably will
  4081.           not want  this feature enabled so they can interact a little more
  4082.           efficiently with the tagging process.
  4083.  
  4084.      *22  Overwrite Warnings  *22  Overwrite Warnings  (Default)  -  Controls the initial setting of
  4085.           the ^O - Overwrite  Warnings  utility  mode  command.    Enabling
  4086.           overwrite  warnings   protects  copy  and  move  operations  from
  4087.           inadvertently writing  over an  already existing file of the same
  4088.           name on the destination drive or directory.
  4089.  
  4090.  
  4091.                                        5757
  4092.  
  4093.                                           Utility Mode - Configuration Menu
  4094.      ----------------------------------------------------------------------
  4095.  
  4096.  
  4097.      *23  Printer Output  To  *23  Printer Output  To  (Default)  -  Controls the initial setting of
  4098.           the ^P - Printer  Port utility  mode command.   This controls the
  4099.           port dCOM will use for printer output.  It has no bearing on what
  4100.           the rest  of the system uses.  If you want to redirect output for
  4101.           the entire  system, refer  to the  Alt-P -  Print  System/Spooler
  4102.           Menu.
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114.  
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.                                        5858
  4156.  
  4157.                                           Utility Mode - Configuration Menu
  4158.      ----------------------------------------------------------------------
  4159.  
  4160.  
  4161.  
  4162.  
  4163.                                      ColorsColors
  4164.  
  4165.      Naturally, changes  to these  fields have  no effect  when the  active
  4166.      video board  is monochrome.  Changes to these fields are made with the
  4167.      Space Bar or  Backspace keys  and are  immediately  reflected  on  the
  4168.      screen.  Also, the EGA Palette Mode controls whether these fields show
  4169.      and control the 16 standard colors or the 64 EGA Palette colors.  When
  4170.      using the  16 standard  colors, the background colors can range from 0
  4171.      to 7,  and the  foreground colors  from 0  to 15.   When using the EGA
  4172.      Palette, all colors can range from 0 to 63.
  4173.  
  4174.      *24  Background   *24  Background   (General)  -  Controls the background color used for
  4175.           the top  and bottom  header sections  of the  utility mode's main
  4176.           screen and all other menu backgrounds.
  4177.  
  4178.      *25  Foreground  *25  Foreground  (General)  -  Controls the text foreground color used
  4179.           for the top and bottom header sections of the utility mode's main
  4180.           screen and all other menu foreground colors.
  4181.  
  4182.      *26  dCOM Lines   *26  dCOM Lines   (General)   -   Controls  the color  of the  utility
  4183.           mode's border  lines.   If Solid  Lines (*11)  is disabled,  this
  4184.           field also  controls the  color of the PC line drawing characters
  4185.           drawn within the utility mode's screen.
  4186.  
  4187.      *27  Menu Lines   *27  Menu Lines   (General)   -   Controls the color of all other menu
  4188.           border lines.   If Solid Lines (*11) is disabled, this field also
  4189.           controls the color of the PC line drawing characters drawn within
  4190.           the other menu screens.
  4191.  
  4192.      *28  Misc Lines   *28  Misc Lines   (General)   -   This  field is  only active if Solid
  4193.           Lines (*11)  is enabled.  It will then control the color used for
  4194.           the PC  Line drawing characters (i.e. "|-|-") drawn with all menu
  4195.           screens.
  4196.  
  4197.      *29  Background   *29  Background   (File Area)   -   Controls the background color used
  4198.           for the  big area  of the  utility mode's  screen that  shows the
  4199.           files read from the current directory.
  4200.  
  4201.      *30  Directory   *30  Directory   (File Area)   -   Controls  the color used to display
  4202.           subdirectory  entries  found  in  the  current  directory  ("<D>"
  4203.           entries)..
  4204.  
  4205.      *31  Exec File   *31  Exec File   (File  Area)   -   Controls the color used to display
  4206.           executable entries  found in  the current directory (files with a
  4207.           COM, EXE, or BAT extension).
  4208.  
  4209.      *32  Other File   *32  Other File   (File  Area)   -  Controls the color used to display
  4210.           entries  found   in  the   current   directory   that   are   not
  4211.           subdirectories or executable.
  4212.  
  4213.      *33  Selec Bar   *33  Selec Bar   (File Area)  -  Controls the background color used to
  4214.           indicate the  currently selected  entry.   If this value is zero,
  4215.           the reverse video colors of the selected entry are used.
  4216.  
  4217.  
  4218.  
  4219.                                        5959
  4220.  
  4221.                                           Utility Mode - Configuration Menu
  4222.      ----------------------------------------------------------------------
  4223.  
  4224.      NOTE:   If EGA  Palette colors  are not  enabled and  reverse video is
  4225.              used for  the Selec Bar, it may be desirable to keep the range
  4226.              of *30,  *31, and  *32 below 8 even though it can be from 0 to
  4227.              15.   This is because a high order color (one that is eight or
  4228.              above) will  be reduced  to  its  low  order  equivalent  when
  4229.              displayed as a background color.
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248.  
  4249.  
  4250.  
  4251.  
  4252.  
  4253.  
  4254.  
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275.  
  4276.  
  4277.  
  4278.  
  4279.  
  4280.  
  4281.  
  4282.  
  4283.                                        6060
  4284.  
  4285.                                   Utility Mode - Configuration Menu - Mouse
  4286.      ----------------------------------------------------------------------
  4287.  
  4288.  
  4289.  
  4290.  
  4291.                                      MouseMouse
  4292.  
  4293.      The mouse  submenu of  the utility  mode's configuration menu controls
  4294.      whether or  not dCOM  attempts to  recognize a  mouse and,  if so, its
  4295.      sensitivity.
  4296.  
  4297.      The factory  default has  the mouse  enabled and  sensitivities set to
  4298.      what have  been found to be good for average use.  If you would rather
  4299.      the mouse  was more  sensitive in  a particular  dimension, reduce the
  4300.      mickey counts.  For less sensitivity, increase the mickey counts.
  4301.  
  4302.      A Mickey  (in the  widely spoken  language of  mice) is defined as the
  4303.      smallest unit  of measurement  in mouse  motion.    The  mickey  ratio
  4304.      determines how  many mickey  counts it  takes before a mouse motion is
  4305.      generated.   In essence, it determines the sensitivity.  The lower the
  4306.      number, the  higher the sensitivity.  Only a little trial-n-error will
  4307.      determine which values yield the best operation for your purposes.
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.  
  4342.  
  4343.  
  4344.  
  4345.  
  4346.  
  4347.                                        6161
  4348.  
  4349.                        Utility Mode - Configuration Menu - Disk Drive Table
  4350.      ----------------------------------------------------------------------
  4351.  
  4352.  
  4353.  
  4354.  
  4355.                            Disk Drive Override TableDisk Drive Override Table
  4356.  
  4357.      The use of this menu is rather advanced and it should only be modified
  4358.      if you  know you  have a  problem it  can resolve.    The  Disk  Drive
  4359.      Override Table  can override dCOM's automatic determination of whether
  4360.      a drive exists and if so, whether it is removeable or not.
  4361.  
  4362.      Users that  might have  a need to change this menu are those using MS-
  4363.      DOS Version  2.x or  a Zenith  Z100 computer.   The  key to using this
  4364.      table is  don't activate an override unless you are sure you need it -
  4365.      as reported  by an  obvious discrepancy  by using  the "Test" command.
  4366.      Generally speaking,  an IBM  compatible  using  MS-DOS  Version  3  or
  4367.      greater will not require any modification to this table.
  4368.  
  4369.      When you  enter  this  menu,  the  display  will  show  any  overrides
  4370.      currently in  effect.   To test  whether dCOM is correctly determining
  4371.      the number  and types  of drives on your system, use the T - Test Auto
  4372.      Config  command.    Carefully  scan  the  results  displayed.    If  a
  4373.      discrepancy exists,  you may  then edit  an override into the table so
  4374.      that dCOM will correctly access the drive.
  4375.  
  4376.      Currently the  only areas in dCOM impacted by this table are the drive
  4377.      select boxes  for use  with the  mouse and  the  Search  Disk  (Alt-S)
  4378.      command when using it to search all non-removeable drives.
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.  
  4388.  
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.                                        6262
  4412.  
  4413.                                                             The Visual Tree
  4414.      ----------------------------------------------------------------------
  4415.  
  4416.  
  4417.  
  4418.  
  4419.                                 THE VISUAL TREETHE VISUAL TREE
  4420.  
  4421.      ======================================================================
  4422.      A sophisticated  visual tree  is provided  as an integral function for
  4423.      users that  identify with  this form of presenting a drive's directory
  4424.      structure.   The tree  fully supports  operation from  both the  mouse
  4425.      and/or keyboard.
  4426.  
  4427.      When the tree is first invoked, it checks an internally maintained set
  4428.      of flags  to determine  whether it  can load a saved image of the tree
  4429.      from file.   If  it can,  the file is read and the tree pops up almost
  4430.      instantly.   If it  can't, the  visual tree pops up a message "Reading
  4431.      Drive d:"  and proceeds  to scan  the  entire  disk,  reading  in  its
  4432.      directory structure  (which is  then saved  in a  image file).   These
  4433.      flags that determine whether the saved image files are still valid are
  4434.      maintained at  a very low level and are reset whenever an internal MS-
  4435.      DOS function request is used (by dCOM or any other program) that would
  4436.      modify a drive's directory structure.
  4437.  
  4438.      By default,  whenever dCOM  is first  started, the flags that hold the
  4439.      valid status for the saved tree image files are all reset.  This means
  4440.      that the  first time  you request  the tree for a particular drive, it
  4441.      will always  have to  read its contents by scanning the disk.  This is
  4442.      the safest  approach in  assuring that  the dCOM  does not use a saved
  4443.      image file  that no  longer  accurately  represents  the  disk's  tree
  4444.      structure (because  you could  exit  dCOM  and  run  something  or  do
  4445.      something that makes, renames, or deletes a directory name).  However,
  4446.      if dCOM is used constantly from power up to power down (you get a gold
  4447.      star), you  can give  dCOM a command line switch, /T, which will force
  4448.      dCOM to  assume the  state of  the internal valid image flags from the
  4449.      last session.   This  means that  if a  drive's tree  was still  valid
  4450.      yesterday when  you powered down your computer, it will still be valid
  4451.      today when you power it back up.
  4452.  
  4453.      If for  some reason you think a drive's tree structure has changed and
  4454.      is not  being reflected, simply relog the same drive while in the tree
  4455.      and the visual tree will reread the entire drive.
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475.                                        6363
  4476.  
  4477.                                   The Visual Tree - Using with Copy or Move
  4478.      ----------------------------------------------------------------------
  4479.  
  4480.  
  4481.  
  4482.  
  4483.                         Using the Tree With Copy or MoveUsing the Tree With Copy or Move
  4484.  
  4485.      Invoking the  tree as  an aide to selecting the destination for a copy
  4486.      or move  command is  done by first initiating the copy or move command
  4487.      and then  when prompted for its destination, press the "-" (minus) key
  4488.      on the  keypad (Z100  users must  press the Tab key instead), or click
  4489.      the mouse  left button on "tree" in the sidebar menu.  An optional way
  4490.      to invoke  the tree  for selecting  the destination  of a copy or move
  4491.      command is  to move the mouse pointer into the drive select box (lower
  4492.      right corner  of the screen), and click on the drive you desire to see
  4493.      a tree of.
  4494.  
  4495.      When the  tree is invoked for this purpose, its use is limited to just
  4496.      displaying the  current drive's  tree structure  with the  only option
  4497.      being to  log onto  a different  drive in  order to  select one of its
  4498.      directories as the destination desired.
  4499.  
  4500.      When the  tree is  displayed for the drive you wish to copy or move to
  4501.      and you have spotted the directory you wish to use - with the keyboard
  4502.      you use  the cursor  keys to select it and then press Return; with the
  4503.      mouse you click the left button on the directory desired.
  4504.  
  4505.  
  4506.  
  4507.  
  4508.  
  4509.  
  4510.  
  4511.  
  4512.  
  4513.  
  4514.  
  4515.  
  4516.  
  4517.  
  4518.  
  4519.  
  4520.  
  4521.  
  4522.  
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531.  
  4532.  
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  
  4539.                                        6464
  4540.  
  4541.                                               The Visual Tree - General Use
  4542.      ----------------------------------------------------------------------
  4543.  
  4544.  
  4545.  
  4546.  
  4547.                           Using The Tree - General UseUsing The Tree - General Use
  4548.  
  4549.      Invoking the  tree for  general use from the utility mode is also done
  4550.      by pressing  the keypad  "-" (minus) key or by clicking the mouse left
  4551.      button on  "tree" in  the sidebar  menu.  The tree can also be invoked
  4552.      automatically when  dCOM is  first run by using the /TREE command line
  4553.      switch.
  4554.  
  4555.      If any  type of  sort mode is active in the utility mode, the contents
  4556.      of the tree will be sorted.  Also, hidden directories will not show in
  4557.      the tree unless the utility mode's V - View Mode is set to show hidden
  4558.      files.
  4559.  
  4560.      When a mouse is active, the tree will display a small menu (by default
  4561.      in the  lower right  corner of the screen) which performs similarly to
  4562.      the utility  mode's sidebar  menu.   This menu  is draggable (like the
  4563.      other pop-up  windows employed  throughout dCOM)  by  positioning  the
  4564.      mouse pointer within the menu and holding down the right mouse button.
  4565.      Scrolling the tree with the mouse is done by bumping the mouse pointer
  4566.      against the window border you wish to see more of.
  4567.  
  4568.      All commands  displayed on  the menu  for the mouse are also available
  4569.      through the  keyboard and  directly  coincide  with  their  equivalent
  4570.      commands in  the utility  mode.   Like the  utility mode,  to select a
  4571.      command with  the mouse you click the command you want first, and then
  4572.      you go click the directory you want it to use.
  4573.  
  4574.      Commands available from the tree are:  C-Copy, M-Move, D-Delete, L-Log
  4575.      drive, and changing directories.
  4576.  
  4577.      The main use of the tree in this mode would be for changing or viewing
  4578.      subdirectories.   You can  quickly view  the contents  of one  of  the
  4579.      subdirectories displayed by selecting it and pressing Return (or click
  4580.      on it  with the  mouse left  button).    When  you  do  this,  control
  4581.      temporarily returns  back to  dCOM's utility  mode and the contents of
  4582.      that directory  are displayed.   You  can now  issue any of the normal
  4583.      utility mode commands (like copy, move, delete, run, etc...) or return
  4584.      back to  the tree by pressing Return on "PREVIOUS <D>" (which is where
  4585.      the selection  bar will  be if you haven't moved it).  This allows you
  4586.      to drop into a subdirectory, take a quick look around, and pop back to
  4587.      the tree  using just  two keystrokes.  (Click the left mouse button on
  4588.      "PREVIOUS <D>"  or "tree"  in the  sidebar menu to accomplish the same
  4589.      thing.)
  4590.  
  4591.      When you  ask the tree to display a subdirectory by pressing Return on
  4592.      it, and  it does  so by  dropping  back  into  the  utility  mode  and
  4593.      displaying it,  dCOM will  inform you  that the  visual tree  is still
  4594.      active by  constantly displaying  a message  in the  drive select  box
  4595.      indicating so.   All  this means  is  that  if  you  press  Return  on
  4596.      "PREVIOUS <D>", control is going to return back to the tree instead of
  4597.      changing directories  to the  previous directory.   Should  you decide
  4598.      that you  want to permanently stay in the directory, press the Esc key
  4599.      and the visual tree active mode will cancel.
  4600.  
  4601.  
  4602.  
  4603.                                        6565
  4604.  
  4605.                                                    The Print System/Spooler
  4606.      ----------------------------------------------------------------------
  4607.  
  4608.  
  4609.  
  4610.  
  4611.                              PRINT SYSTEM & SPOOLERPRINT SYSTEM & SPOOLER
  4612.  
  4613.      ======================================================================
  4614.      The print  system  built  into  dCOM  out-performs  other  stand-alone
  4615.      spooling systems  costing more  than twice  the price of dCOM.  In the
  4616.      Print System/Spooler  Menu, you  can totally  define and  control your
  4617.      systems printing characteristics, spooling, and redirection.
  4618.  
  4619.      Changes made  in this menu affect your entire system (both in dCOM and
  4620.      when you  run programs  under dCOM).   If  you use  dCOM's redirection
  4621.      capabilities, there is no need to use the MODE program to initialize a
  4622.      serial port  and/or remap a parallel port to a serial port.  dCOM will
  4623.      do it all for you.
  4624.  
  4625.      The spooler  supports  ultra  high-speed,  demand  (interrupt)  driven
  4626.      interfaces, in  both parallel  and serial  configurations.    Reliable
  4627.      RS232 baud  rates as high as 38,400 have been achieved (even on a XT).
  4628.      Parallel throughputs  exceeding 5,000  Cps  have  been  observed  when
  4629.      performing graphics  or font  downloads to  a laser  printer (with  no
  4630.      noticeable impact on system performance).  5,000 Cps is the equivalent
  4631.      of 50,000 baud!
  4632.  
  4633.      If present,  the spooler  will recognize  and use expanded memory (LIM
  4634.      EMS) instead  of  consuming  precious  conventional  memory  with  its
  4635.      buffer.   When the  spooler is  actually  using  expanded  memory,  it
  4636.      displays "Buffer(E)"  instead of "Buffer", in the Print System/Spooler
  4637.      Menu.
  4638.  
  4639.      The print  system is  also complimented  with several  hot-keys.   One
  4640.      allows you  to clear  the spooler's buffer and flush any further print
  4641.      output.   Other hot-keys  can send form-feeds and/or line-feeds to the
  4642.      printer (refer to Hot-Keys for more information).
  4643.  
  4644.      Unlike other  spoolers, the size of dCOM's print spooler can easily be
  4645.      increased or  decreased at will, or disabled, should you suddenly have
  4646.      a need  to have  the memory  back (by  simply re-editing  the buffer's
  4647.      size).
  4648.  
  4649.      Whether performance  is given  to getting the paper out of the printer
  4650.      or to  getting the  data into  the spooler's  buffer can be controlled
  4651.      using the  /P command  line switch.  When specified, the switch shifts
  4652.      the priority  to the  printing application so that it gets all the cpu
  4653.      time by  preventing the  printer from being serviced when the printing
  4654.      application is  actively trying  to send  data to  the printer.   This
  4655.      results in  getting control back sooner but takes longer for the paper
  4656.      to come out of the printer.  If the spooler's buffer becomes full when
  4657.      this switch is on, its effect is temporarily cancelled for the current
  4658.      print operation  and the  priority immediately switches to getting the
  4659.      buffer printed.  Refer to Command Line Switches for more information.
  4660.  
  4661.      On the  technical side:   The  print  spooler  uses  a  triple  buffer
  4662.      technique to  provide maximum  efficiency and  throughput.  BIOS level
  4663.      write requests  are buffered immediately into a small front-end buffer
  4664.      which needs  little overhead  to manage,  getting control  back to the
  4665.  
  4666.  
  4667.                                        6666
  4668.  
  4669.                                                    The Print System/Spooler
  4670.      ----------------------------------------------------------------------
  4671.  
  4672.      calling application  in no time.  The front-end buffer is then flushed
  4673.      into the  main buffer  on every timer tick (18 times a second), unless
  4674.      required sooner  if the front-end buffer fills up.  The main buffer is
  4675.      then bled  off into  another small  buffer, the  printer output buffer
  4676.      (also on  each timer tick) which services the print device through the
  4677.      appropriate method  (BIOS, PORT,  or IRQ).   This technique allows the
  4678.      use of  16 bit  pointers instead  of  32  bit  pointers  during  time-
  4679.      intensive periods  and also  keeps EMS  management at  a  minimum  (if
  4680.      present).
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701.  
  4702.  
  4703.  
  4704.  
  4705.  
  4706.  
  4707.  
  4708.  
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723.  
  4724.  
  4725.  
  4726.  
  4727.  
  4728.  
  4729.  
  4730.  
  4731.                                        6767
  4732.  
  4733.                                             The Print System/Spooler - Menu
  4734.      ----------------------------------------------------------------------
  4735.  
  4736.  
  4737.  
  4738.  
  4739.                            Print System/Spooler MenuPrint System/Spooler Menu
  4740.  
  4741.  
  4742.                    ,----------------------------------,
  4743.                    |  Spooling  |  Buffer  |  In Use  |
  4744.                    |------------+----------+----------|
  4745.                    |     *1     |    *2    |    *3    |
  4746.                    |----------------------------------|
  4747.                    |        SYSTEM REDIRECTION        |
  4748.                    |----------------------------------|
  4749.                    |  LPT1 -> *4                      |
  4750.                    |  LPT2 -> *5                      |
  4751.                    |  LPT3 -> *6                      |
  4752.                    `----------------------------------'
  4753.  
  4754.      *1*1   Indicates the  current status  of  the  print  spooler  (Enabled,
  4755.           Disabled, Clearing,  or Flushing).   If  the spooler  is actively
  4756.           sending characters  to the  print device,  this area displays the
  4757.           port that  originally received  the data,  the port  that  it  is
  4758.           actually being  sent to, and the type of method used.  The format
  4759.           of this  display is  "LPT#->LPT#(*)" or "LPT#->COM#" depending on
  4760.           whether output  is redirected  to a COM port.  The "#" characters
  4761.           will be  filled in with the ports involved and the "*" characters
  4762.           filled in  to indicate  the method  currently in  use  ("(B)"  to
  4763.           indicate BIOS,  "(P)" to  indicate Port,  or a  "(I)" to indicate
  4764.           demand driven  IRQ servicing).   Note:  Redirection to a COM port
  4765.           with the spooler active always uses demand driven IRQ servicing.
  4766.  
  4767.      *2*2   If the spooler is static, the current size of the print spooler's
  4768.           buffer is  displayed.   The value  entered here  also  determines
  4769.           whether the spooler is enabled, depending on whether the value is
  4770.           not zero.   If  the spooler  is actively  sending characters to a
  4771.           print device,  this area  instead  displays  an  accumulated  CPS
  4772.           (characters per  second) average  since  the  current  print  job
  4773.           started.   If you  use the  /P command  line switch  to give  the
  4774.           printing application  priority, the  CPS value  displayed will be
  4775.           unfavorably affected  by the periods when no attempts are made to
  4776.           send data from the spooler's buffer to the printer.
  4777.  
  4778.      *3*3   Indicates in  real-time how  many characters are in the spooler's
  4779.           buffer waiting to be printed.
  4780.  
  4781.      *4 -6*4 -6     These fields  control whether output to a port is redirected
  4782.           to another  port and what techniques are used to communicate with
  4783.           the destination port.
  4784.  
  4785.      NOTE:   dCOM will  not allow  this menu to be edited if the spooler is
  4786.              currently active (sending characters to the printer) or if you
  4787.              are running a multiple copy of dCOM.
  4788.  
  4789.      When you  edit this  menu, the  first field edited is the buffer size.
  4790.      As indicated  above, any  value other than zero activates the spooler.
  4791.      If the  spooler is  using conventional  memory, the  values are always
  4792.  
  4793.  
  4794.  
  4795.                                        6868
  4796.  
  4797.                                             The Print System/Spooler - Menu
  4798.      ----------------------------------------------------------------------
  4799.  
  4800.      converted to multiples of 16.  If the spooler is using expanded memory
  4801.      (LIM EMS), the values are converted to multiples of 16,384.
  4802.  
  4803.      After editing  the buffer  size, editing  proceeds to the three System
  4804.      Redirection ports  (*4 through  *6).  The factory defaults are that no
  4805.      redirection is  used (i.e. output to LPT1 is sent to LPT1, etc...) and
  4806.      that the  spooler will  use BIOS/Network calls.  Changing these fields
  4807.      is done by using the Space Bar or Backspace keys.
  4808.  
  4809.  
  4810.                              Parallel Port OutputsParallel Port Outputs
  4811.  
  4812.      When the  output of  a LPT port is sent to another parallel port (LPT1
  4813.      through LPT3  instead of  COM1 or  COM2), and  the  print  spooler  is
  4814.      enabled, there  are two  methods which  can be  used to  talk  to  the
  4815.      parallel port:
  4816.  
  4817.      1.   BIOS/NetworkBIOS/Network   -   Is the  safest and  most compatible method and
  4818.           must be  used if  the output needs to be sent to a printer over a
  4819.           network.   This method  polls the  printer port in the background
  4820.           and intelligently  decides when its time to give up and return to
  4821.           the  current   application,  based   on  cpu  speed  and  printer
  4822.           reactiveness.
  4823.  
  4824.      2.   Port/IRQPort/IRQ   -   Is the  fastest and  most efficient method to send
  4825.           data to  a parallel  port.   This  method  generally  won't  work
  4826.           properly on  XT computers  due to  an inherent  design flaw in XT
  4827.           printer  adapters  (which  was  then  copied  by  numerous  clone
  4828.           manufacturers).   This method  should work  fine on AT compatible
  4829.           printer ports  and should  be the  method of choice (at least for
  4830.           LPT1).   If this method is selected and the IRQ needed is already
  4831.           in use  or not  functioning correctly,  dCOM  will  automatically
  4832.           switch to  polling  the  printer  port  directly.    This  method
  4833.           services the  printer based  on printer demand (using the printer
  4834.           acknowledge interrupt)  making it  by far  the most efficient and
  4835.           fastest of  the two  methods to  send data  to  a  parallel  port
  4836.           (sending data  as fast as the printer can ask for it).  Since the
  4837.           processor is  only interrupted  when the  printer  is  ready  for
  4838.           another character,  very  little  CPU  time  is  taken  from  the
  4839.           foreground application  in order  to keep  data  flowing  to  the
  4840.           printer.
  4841.  
  4842.           Since the  Port/IRQ  method  requires  that  the  associated  LPT
  4843.           interrupts be  available and working (LPT1 requires IRQ7 and LPT2
  4844.           requires IRQ5),  dCOM automatically  detects whether the required
  4845.           interrupts are  already in  use by another device before assuming
  4846.           it can  use the  IRQ for this purpose.  IRQ5 (LPT2) tends to be a
  4847.           commonly used auxiliary interrupt for a lot of add-on cards (i.e.
  4848.           mouse cards,  network cards, scanner cards, etc...) and on an XT,
  4849.           IRQ5 is  required to  support the  hard disk.   If  the  required
  4850.           interrupt is  already in  use or  not functioning correctly, dCOM
  4851.           will automatically  switch to  spooling with  a polling technique
  4852.           directly with the port.
  4853.  
  4854.      You can  determine the  exact method  dCOM is  using to  talk to a LPT
  4855.      device by  watching the  status indication  displayed under "Spooling"
  4856.      when output is actually being transferred to the printer.  If an "(I)"
  4857.  
  4858.  
  4859.                                        6969
  4860.  
  4861.                                             The Print System/Spooler - Menu
  4862.      ----------------------------------------------------------------------
  4863.  
  4864.      is displayed,  the printer  acknowledge interrupt  is being  used  and
  4865.      functioning fine.   If  a "(P)"  is displayed, the printer acknowledge
  4866.      interrupt could  not be  used and direct port writes are being used in
  4867.      polling fashion.   If  a "(B)"  is displayed,  BIOS requests are being
  4868.      used in  a polling fashion.  An easy way to check this is to take your
  4869.      printer off-line,  select a  ASCII file  and press  "P" to  print  it.
  4870.      Disregarding the  flashing message  "Check Printer",  go to  the Print
  4871.      System/Spooler Menu  and watch  what happens  to these indicators when
  4872.      you put the printer back on-line.
  4873.  
  4874.      NOTE:   Whether a LPT port has been configured to use Port/IRQ instead
  4875.              of BIOS/Network  is only significant if the spooler is active.
  4876.              If the spooler is disabled, output is always sent through BIOS
  4877.              (unless redirected to a COM port).
  4878.  
  4879.  
  4880.                             Serial Port RedirectionSerial Port Redirection
  4881.  
  4882.      The print  output can  be redirected  very easily and efficiently from
  4883.      any LPT  port to any COM port.  When the output is redirected to a COM
  4884.      port, dCOM automatically manages the initialization of the RS232 port,
  4885.      making  this   capability  totally   self-contained  within  dCOM  and
  4886.      eliminating any need to use the MS-DOS MODE command.  When redirection
  4887.      is enabled  to a  COM port  and the  spooler  is  also  enabled,  dCOM
  4888.      services the  spooler using  interrupts  on  transmit  register  empty
  4889.      (demand driven) which allows high-speed baud rates with minimal impact
  4890.      on system performance.
  4891.  
  4892.      Redirection to  a COM  port supports  all common forms of hardware and
  4893.      software flow control.
  4894.  
  4895.      While editing a LPT port to be redirected to a COM port, the following
  4896.      additional commands are also recognized from the keyboard that control
  4897.      the operating parameters of the RS232 port:
  4898.  
  4899.             B       B   -  Cycles the baud rate from between 300 to 38400.
  4900.             
  4901.             E       E   -  Selects even parity.
  4902.             
  4903.             O       O   -  Selects odd parity.
  4904.             
  4905.             N       N   -  Selects no parity.
  4906.             
  4907.             7       7   -  Selects 7 data bits.
  4908.             
  4909.             8       8   -  Selects 8 data bits.
  4910.             
  4911.             1       1   -  Selects 1 stop bits.
  4912.             
  4913.             X       X   -  Toggles Xon/Xoff software flow control.
  4914.             
  4915.             C       C   -  Toggles CTS/RTS hardware flow control.
  4916.             
  4917.             D       D   -  Toggles DSR/DTR hardware flow control.
  4918.  
  4919.      Selecting the  proper RS232  parameters  is  based  on  what  type  of
  4920.      printing device  you are  sending your  output to.  You should be very
  4921.  
  4922.  
  4923.                                        7070
  4924.  
  4925.                                             The Print System/Spooler - Menu
  4926.      ----------------------------------------------------------------------
  4927.  
  4928.      careful to match these parameters with the way the device is currently
  4929.      configured.
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956.  
  4957.  
  4958.  
  4959.  
  4960.  
  4961.  
  4962.  
  4963.  
  4964.  
  4965.  
  4966.  
  4967.  
  4968.  
  4969.  
  4970.  
  4971.  
  4972.  
  4973.  
  4974.  
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.                                        7171
  4988.  
  4989.                                                        The Alarm/Event Menu
  4990.      ----------------------------------------------------------------------
  4991.  
  4992.  
  4993.  
  4994.  
  4995.                               THE ALARM/EVENT MENUTHE ALARM/EVENT MENU
  4996.  
  4997.      ======================================================================
  4998.      The alarm  menu is  invoked by pressing "A" at the utility mode.  From
  4999.      the alarm  menu you  may enter  up to  38 different  alarms  (events).
  5000.      There are  basically two different types of alarms; daily or calendar.
  5001.      A daily  alarm qualifies  based on  the day(s)  of  the  week  (Monday
  5002.      Tuesday, etc...).   A  calendar alarm  qualifies based  on a  specific
  5003.      date.  There are also two different ways to enter calendar alarms:  1)
  5004.      as recurring  calendar which  is immune from automatic deletion or, 2)
  5005.      as a  (normal) calendar  alarm which  is  automatically  deleted  when
  5006.      obsolete.   Recurring calendar  alarms are  good for  such  things  as
  5007.      birthdays, anniversaries,  etc...  Automatic deletion of non-recurring
  5008.      calendar alarms  is checked  when dCOM  is first  run and alarms which
  5009.      fall within  the range  of  last  month  through  yesterday  are  then
  5010.      deleted.
  5011.  
  5012.      New alarms  are added in the alarm menu by selecting an empty slot and
  5013.      pressing E-Edit.   You are then asked to enter the type of alarm being
  5014.      added (as just described with Daily, Calendar, or Recurring calendar).
  5015.      The insert  and delete options of this menu are relative to the column
  5016.      you are  in, not  the entire screen.  Insert will insert an empty slot
  5017.      (alarm) at  the current  slot, bumping existing entries down until the
  5018.      next empty slot is encountered in that column (this means it will have
  5019.      no effect  if you  are on  an empty slot).  Hopefully this scheme will
  5020.      allow you to implement some form of organization using the two columns
  5021.      (which have no other significance other than that).
  5022.  
  5023.      When an  alarm sounds,  the text you enter for the description flashes
  5024.      on the  screen (provided  its in  text mode)  and the  speaker  beeps.
  5025.      Alarms  are   then  cancelled  by  pressing  the  Esc  key  (which  is
  5026.      discarded).   The beeping  will automatically  time-out after  it  has
  5027.      sounded 30 times if not cancelled sooner, but the flashing description
  5028.      will continue  to display  until actually  cancelled with the Esc key.
  5029.      Alarm times  are maintained in, and must be entered in 24 hour format.
  5030.      For example, 1 pm is entered as 13:00.
  5031.  
  5032.      The alarms/events  entered are  also complimented  with  a  look-ahead
  5033.      capability that  displays a  sorted list  of events falling within the
  5034.      programmed range  when dCOM  is initially run, or by selecting the "L-
  5035.      Look-Ahead" option from the alarm menu.
  5036.  
  5037.      Configuring the  look-ahead values  desired (in  days) for  either the
  5038.      daily and/or  calendar alarms  is done  by  selecting  the  "C-Config"
  5039.      option from  the alarm menu.  The values entered include today as part
  5040.      of the  calculation, thus,  if you  entered a  daily look-ahead  of 2,
  5041.      daily alarms  scheduled for  today and  tomorrow would  be shown  in a
  5042.      look-ahead scan.   Using  a  value  of  one  would  only  show  alarms
  5043.      scheduled for  today.   Enter a  value of zero to disable checking for
  5044.      that particular type of alarm.
  5045.  
  5046.      After editing  the look-ahead  values, be  sure to  use  the  "S-Save"
  5047.      option if you want the changes to be permament.
  5048.  
  5049.  
  5050.  
  5051.                                        7272
  5052.  
  5053.                                                              The Macro Keys
  5054.      ----------------------------------------------------------------------
  5055.  
  5056.  
  5057.  
  5058.  
  5059.                                  THE MACRO KEYSTHE MACRO KEYS
  5060.  
  5061.      ======================================================================
  5062.      Webster's definition  of the  word "macro"  when used  in a  computer-
  5063.      related context  is described  as "a  single computer instruction that
  5064.      stands for a sequence of operations".  dCOM's macro keys are just that
  5065.      - you press one key and a whole series of operations can be programmed
  5066.      to occur.  You can think of dCOM's macro keys as having 20 batch files
  5067.      on line  and ready  to execute.   You  can also program a macro key to
  5068.      load in a whole new set of macro definitions, making the possibilities
  5069.      of what you can implement endless.
  5070.  
  5071.      But the  macro keys  are much more than just having 20 different batch
  5072.      files on-line  and "at  the ready".  They can be programmed to use the
  5073.      currently selected  file, loop  on tagged  files, get  keyboard input,
  5074.      test and  jump conditionally  on a  variety of  operands, etc....   To
  5075.      begin using  them, all you have to know is how to write a simple batch
  5076.      file with any text editor.
  5077.  
  5078.      The macro  keys can also be used to build extensive but very "straight
  5079.      arrow" menuing  systems which  are fully mouse supported with optional
  5080.      password protection.  Refer to Menuing for more information.
  5081.  
  5082.      dCOM's internal  macro compiler  loads ASCII macro files with one read
  5083.      operation (no extra time spent on character or line-oriented disk I/O)
  5084.      and then  compiles ("tokenizes") each macro command for optimum memory
  5085.      usage and runtime performance.
  5086.  
  5087.      Above all  else, do not let the extensive capabilities and command set
  5088.      be intimidating.   You can write a macro key file in its simplest form
  5089.      of just  comprising of  batch file  like commands and then "grow" into
  5090.      using  some   of  the   more  sophisticated  commands  as  you  become
  5091.      comfortable.
  5092.  
  5093.      We believe  that the capabilities provided by dCOM's macro command set
  5094.      are unrivaled and unparalleled in the PC world as we know it today....
  5095.  
  5096.  
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114.  
  5115.                                        7373
  5116.  
  5117.                                                    Macro Keys - General Use
  5118.      ----------------------------------------------------------------------
  5119.  
  5120.  
  5121.  
  5122.  
  5123.                             Macro Keys - General UseMacro Keys - General Use
  5124.  
  5125.      The operation  discussed here  concerns using  the macro keys from the
  5126.      utility mode.   For information on using the macro keys from the Macro
  5127.      Key Menu Mode, refer to Menuing.
  5128.  
  5129.      Executing a  macro key can be done in a variety of different ways.  If
  5130.      you know  which macro  key you want, you can simply press its function
  5131.      key.  If you can't remember which function key activates the macro you
  5132.      want, you  can press  Backspace to get a pop-up menu of the  macro key
  5133.      titles for  the active  macro file.  When the menu of macro key titles
  5134.      is on  the screen,  you can  execute one of its macros by pressing the
  5135.      appropriate function  key, or  you can  use the  cursor motion keys to
  5136.      select the macro key and press Return, or you can click the mouse left
  5137.      button on  the macro  title you  want to  execute.   If you decide you
  5138.      don't want  to execute  a macro key, you can press Backspace again (or
  5139.      Esc) to cancel the menu.
  5140.  
  5141.      You can  temporarily gosub  (call) a different macro file from the one
  5142.      that is  currently active  by pressing  the "/" (forward slash).  When
  5143.      the "/"  key is  used to call up a different macro file, its macro key
  5144.      titles are  displayed as  described above  when Backspace  is pressed.
  5145.      The difference  is that  the original macro file is reloaded after you
  5146.      finish with  the menu  (either by  running one  of its  macro keys  or
  5147.      escaping it).   This  capability is  also provided  for mouse users by
  5148.      clicking the  left button  on the  "M-File" selection  in the  sidebar
  5149.      menu.
  5150.  
  5151.      You can  permanently goto  (change) to a different macro file from the
  5152.      one that  is currently  active by pressing the "." (period).  When the
  5153.      "." key  is used  to change  macro files,  a menu  of  its  titles  is
  5154.      displayed as  described above  when Backspace is pressed (to make sure
  5155.      you know  you loaded  the right macro file).  However, when you finish
  5156.      with this  menu, the  new macro file remains as the active macro file.
  5157.      When a different macro file is active from that which was the original
  5158.      macro file  when dCOM  was first  run, the  bottom right corner of the
  5159.      utility mode's  screen will  constantly display the name of that macro
  5160.      file to help you remember that a different set of macro keys is active
  5161.      from that which you're probably used to.
  5162.  
  5163.  
  5164.      When you  execute a  macro key, dCOM will automatically manage whether
  5165.      it should  clear the  screen.   If the  macro  key  does  not  display
  5166.      anything or  does not run a program (this limits things pretty much to
  5167.      changing drives,  changing directories, setting environment variables,
  5168.      or sending printer strings), dCOM's screen will not be cleared.
  5169.  
  5170.      Whether there is a pause asserted by dCOM after the macro key finishes
  5171.      so that  you can  read whatever  it might  have posted  on the  screen
  5172.      before dCOM rebuilds it, is controlled by whether you include the "/W"
  5173.      switch on  a macro's  title line.   Other  title line switches let you
  5174.      tell dCOM  to remove any TSR's loaded by the macro key, and whether to
  5175.      prompt for a password before allowing the macro key to execute.
  5176.  
  5177.  
  5178.  
  5179.                                        7474
  5180.  
  5181.                                                    Macro Keys - General Use
  5182.      ----------------------------------------------------------------------
  5183.  
  5184.      The Esc key will abort an executing macro key, provided the Esc key is
  5185.      not processed  by a  program that  the macro  key  might  be  running.
  5186.      Checking for  the Esc  key is  performed every  time a  macro line  is
  5187.      executed, but does not eat keystrokes.
  5188.  
  5189.  
  5190.  
  5191.  
  5192.  
  5193.  
  5194.  
  5195.  
  5196.  
  5197.  
  5198.  
  5199.  
  5200.  
  5201.  
  5202.  
  5203.  
  5204.  
  5205.  
  5206.  
  5207.  
  5208.  
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231.  
  5232.  
  5233.  
  5234.  
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243.                                        7575
  5244.  
  5245.                                                        Macro Keys - Editing
  5246.      ----------------------------------------------------------------------
  5247.  
  5248.  
  5249.  
  5250.  
  5251.                              Editing the Macro KeysEditing the Macro Keys
  5252.  
  5253.      Macro files  must be  located in  the same  drive and  subdirectory in
  5254.      which dCOM  is located.   The  default macro  file loaded  is DCOM.MAC
  5255.      unless otherwise  specified  with  the  "/MF=macrofile"  command  line
  5256.      switch when dCOM is run.
  5257.  
  5258.      Macro files  must end  with a  .MAC extension.  All commands that deal
  5259.      with macro  filenames will automatically append a .MAC extension if it
  5260.      is not given or if a different extension is specified.
  5261.  
  5262.      dCOM automatically  recognizes when  changes are  made to  the  active
  5263.      macro file (when it is edited with dCOM's text editor) and immediately
  5264.      loads and recompiles it after exiting the text editor.
  5265.  
  5266.      The utility mode's Alt-K command facilitates editing of existing macro
  5267.      files by  displaying a menu of their filenames.  Selecting one invokes
  5268.      the text editor with that macro file.  The Alt-K command is impervious
  5269.      to what  drive or  directory is  current and  to whether  any  of  the
  5270.      existing macro  files are  hidden.   Additional  macro  files  can  be
  5271.      created by  selecting the  "[NewFile]" option displayed along with the
  5272.      existing files when you press Alt-K.  An alternate way to create a new
  5273.      macro file  is to  go into dCOM's Home Directory and copy a macro file
  5274.      that already  exists to  a new  name (thus creating it).  Since you're
  5275.      now already  in the Home Directory, you could just select the new file
  5276.      and press  "E" to  edit it or, if you use Alt-K, the new file will now
  5277.      appear as a selection for editing.
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.  
  5296.  
  5297.  
  5298.  
  5299.  
  5300.  
  5301.  
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307.                                        7676
  5308.  
  5309.                                                        Macro Keys - Editing
  5310.      ----------------------------------------------------------------------
  5311.  
  5312.  
  5313.  
  5314.  
  5315.                             Using dCOM's Text EditorUsing dCOM's Text Editor
  5316.  
  5317.      If you are already familiar with dCOM's text editor, you may skip this
  5318.      section.
  5319.  
  5320.      Once inside  the editor,  its use is fairly straight-forward.  Use the
  5321.      cursor (arrow) keys to move around and change the file.  When finished
  5322.      making changes,  use Alt-W  to write  (save) the file and use Alt-X to
  5323.      exit the  editor.  If you had started a new file using the "[NewFile]"
  5324.      selection of  Alt-K, pressing  Alt-W will  stop and ask for a filename
  5325.      before proceeding (remember to give it a .MAC extension).
  5326.  
  5327.      Some more advanced features are:
  5328.  
  5329.      Use F8  to set the starting and ending lines of a block for subsequent
  5330.      copying or moving with Alt-C or Alt-M respectively.
  5331.  
  5332.      Press F7 or Alt-H to bring up the editor's help screen.
  5333.  
  5334.      To delete  a line  or insert a line, use Alt-D and Alt-I.  (Notice how
  5335.      everything correlates...?)  To delete characters, use the Del key.  To
  5336.      change the insert/overtype mode, use the Ins key.
  5337.  
  5338.      You can  open/switch windows by using the function keys F2, F3 and F4.
  5339.      Another existing  file can be loaded into a different window using the
  5340.      Alt-E command.   Blocks  of text  from the new window may be copied or
  5341.      moved from  window to  window by  using F8  to mark  the source lines,
  5342.      switch to the destination window (using F1 through F4), and then using
  5343.      the Alt-C or Alt-M commands, respectively.
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.  
  5354.  
  5355.  
  5356.  
  5357.  
  5358.  
  5359.  
  5360.  
  5361.  
  5362.  
  5363.  
  5364.  
  5365.  
  5366.  
  5367.  
  5368.  
  5369.  
  5370.  
  5371.                                        7777
  5372.  
  5373.                                                    Macro Keys - File Format
  5374.      ----------------------------------------------------------------------
  5375.  
  5376.  
  5377.  
  5378.  
  5379.                                Macro File FormatMacro File Format
  5380.  
  5381.      Macro files  are standard  ASCII files  which must  end  with  a  .MAC
  5382.      extension that  can be edited with any text editor.  An example of the
  5383.      basic format of a simple macro file is:
  5384.  
  5385.  
  5386.      ,---------------------------------------------------------------------,
  5387.        MAIN MACRO'S                          ;;MENU TITLE FOR MENU MODE     |                                                                     |
  5388.      |                                                                     |
  5389.        [F1]  MS-WORD                         ;;TITLE LINE AND SWITCHES     |                                                                     |
  5390.        C:                                    ;;CHANGE DRIVES (IF NEC)     |                                                                     |
  5391.        CD \MSWORD                            ;;CHANGE DIRECTORIES     |                                                                     |
  5392.        WORD                                  ;;RUN MS-WORD     |                                                                     |
  5393.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  5394.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  5395.      |                                                                     |
  5396.        [F2]  dBASE                           ;;TITLE LINE AND SWITCHES     |                                                                     |
  5397.        C:                                    ;;CHANGE DRIVES (IF NEC)     |                                                                     |
  5398.        CD \DBASE                             ;;CHANGE DIRECTORIES     |                                                                     |
  5399.        DBASE                                 ;;RUN dBASE     |                                                                     |
  5400.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  5401.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  5402.      |                                                                     |
  5403.             ■     |                                                                     |
  5404.             ■     |                                                                     |
  5405.             ■     |                                                                     |
  5406.      |                                                                     |
  5407.        [sF10]  WORDSTAR 5                    ;;TITLE LINE AND SWITCHES     |                                                                     |
  5408.        C:                                    ;;CHANGE DRIVES (IF NEC)     |                                                                     |
  5409.        CD \WS5                               ;;CHANGE DIRECTORIES     |                                                                     |
  5410.        WS                                    ;;RUN WORDSTAR     |                                                                     |
  5411.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  5412.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  5413.      `---------------------------------------------------------------------'
  5414.  
  5415.      The format  of a  macro file  is very "loose".  The one shown above is
  5416.      only an  example and  includes the use of some macro commands that are
  5417.      not absolutely  necessary.   The only  hard and  fast rule is that you
  5418.      must start  each macro  key definition  with a title line that has the
  5419.      following format:
  5420.  
  5421.           [F#] title[/w][/r][/p:password]
  5422.  
  5423.      The bracket  characters around  "F#"  are  mandatory.    The  brackets
  5424.      surrounding the  switches (/w,  /r, and  /p) are  used to indicate the
  5425.      switches are  optional and would not be typed in.  "F#" has a range of
  5426.      F1 -  F10 and sF1 - sF10 (the "s" designates shifted macro keys).  The
  5427.      title has  a maximum  displayable length  of 20  characters; exceeding
  5428.      this only causes it to be truncated.
  5429.  
  5430.      The first non-blank line encountered before the start of any macro key
  5431.      definition is considered the menu title.  The menu title has a maximum
  5432.  
  5433.  
  5434.  
  5435.                                        7878
  5436.  
  5437.                                                    Macro Keys - File Format
  5438.      ----------------------------------------------------------------------
  5439.  
  5440.      displayable length  of 40  characters and  is only  displayed when the
  5441.      menu mode is active (/M or /MP command line switches).
  5442.  
  5443.      Macro key  definitions need  not be  defined in sequence, but defining
  5444.      them out  of order  can have  a minor  degradation on  load time  when
  5445.      compiled because  inserting is  required and  could also become rather
  5446.      confusing.
  5447.  
  5448.      Blank lines  have no  functional significance  and consume  no memory.
  5449.      Use them as desired to aid in readability.
  5450.  
  5451.      The implied  end of a macro key definition is the start of another (or
  5452.      the end  of file).  There is no command to mark the end of a macro key
  5453.      definition.   Duplicate macro definitions are illegal and will produce
  5454.      an error when invoked.
  5455.  
  5456.      Comments are  supported  but  not  required.    They  begin  when  two
  5457.      semicolons are  encountered in  sequence and  automatically end at the
  5458.      end of  the line.   Using  comments (or tabs leading to a comment) are
  5459.      ignored when compiled and consume no additional memory.
  5460.  
  5461.      The use  of lower  or upper  case  is  subjective.    dCOM  is  always
  5462.      insensitive to  the use  of case,  meaning it doesn't care whether you
  5463.      use lower or upper case characters.
  5464.  
  5465.      Leading and  trailing spaces  are ignored  and consume  no  additional
  5466.      memory (indent to your hearts content for purposes of clarity).
  5467.  
  5468.  
  5469.  
  5470.  
  5471.  
  5472.  
  5473.  
  5474.  
  5475.  
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496.  
  5497.  
  5498.  
  5499.                                        7979
  5500.  
  5501.                                            Macro Keys - Title Line Switches
  5502.      ----------------------------------------------------------------------
  5503.  
  5504.  
  5505.  
  5506.  
  5507.                               Title Line SwitchesTitle Line Switches
  5508.  
  5509.      The characteristics  of each  macro key  can be somewhat configured by
  5510.      the use  of some  optional title  line switches.   These  switches are
  5511.      specified on the same line that defines the macro, following its title
  5512.      text.
  5513.  
  5514.      /W/W       Specifies that  a pause  (wait) is  necessary when  the macro
  5515.               terminates.  This switch is normally used when a macro runs a
  5516.               program that  displays something  but  doesn't  ask  you  for
  5517.               permission before it exists.  If you don't tell dCOM that the
  5518.               macro key  needs a pause, it will just go ahead and build its
  5519.               utility mode  screen or menu mode screen, none the wiser that
  5520.               you wanted  to read  it.   An alternate  way to  achieve this
  5521.               effect, but  on a  conditional basis,  is to  not use  the /W
  5522.               switch so that overall the macro won't pause, but when you do
  5523.               want it  to pause,  use the %W variable (which is more like a
  5524.               switch and used primarily with the Extension Execute feature)
  5525.               in combination with an ECHO command.
  5526.  
  5527.      /R/R       This switch  tells dCOM  to remove  any TSR's  loaded by  the
  5528.               macro key  when the  macro key terminates.  This is useful if
  5529.               you need to load a TSR to support a program which is also run
  5530.               in the  same macro  key, but you don't need the TSR after the
  5531.               macro key is finished.
  5532.  
  5533.      /P:pword/P:pword Specifies that  the macro  key is  password protected.    The
  5534.               password specified  following  the  colon  is  then  required
  5535.               before a  user can  execute  the  macro  key.    The  maximum
  5536.               recognized length of a password is 10 characters.  If you use
  5537.               password's on  your macro  keys, it  might be  a good idea to
  5538.               hide the macro files (using the utility mode's Alt-H command)
  5539.               since the  password can  easily be  seen by viewing the macro
  5540.               file.   If you  hide a macro file, it will have no ill-effect
  5541.               on the various commands that display a menu of macro files.
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554.  
  5555.  
  5556.  
  5557.  
  5558.  
  5559.  
  5560.  
  5561.  
  5562.  
  5563.                                        8080
  5564.  
  5565.                                       Macro Keys - Commands Quick Reference
  5566.      ----------------------------------------------------------------------
  5567.  
  5568.  
  5569.  
  5570.  
  5571.                          Macro Commands Quick ReferenceMacro Commands Quick Reference
  5572.  
  5573.      >>command ..................... Force line to be executed by DOS
  5574.      dd: ........................... Set a new default drive
  5575.      :labellabel ....................... Designate a label
  5576.      BEEPBEEP ......................... Beep the speaker
  5577.      CDCD path ...................... Change current directory
  5578.      CDDCDD [d:][path] ............... Change current drive and directory
  5579.      CDDOCDDO ......................... Change to original drive & dir
  5580.      CHDIRCHDIR path ................... Change current directory
  5581.      CLSCLS .......................... Clear the screen
  5582.      CPOSNCPOSN [line][,column] ........ Positions the cursor
  5583.      DODO mask ...................... Execute block for each file in mask
  5584.      ECHOECHO text .................... Display text
  5585.      ENDDOENDDO ........................ Designate end of DO block
  5586.      ENDIFENDIF ........................ Designate end of IF block
  5587.      EXITEXIT ......................... Exit the macro key
  5588.      GETGET tvar [prompt] ............ Get from keybrd to temp variable
  5589.      GOSUBMFGOSUBMF macrofile [key] ...... Gosub (load) a new macro file
  5590.      GOTOGOTO label ................... Unconditional jump to a label
  5591.      GOTOMFGOTOMF macrofile [key] ....... Goto (load) a new macro file
  5592.      IFIF op1 <=> op2 cmdcmd ........... Conditional cmd using two oprnds
  5593.      IFIF [NOT] EXIST file cmdcmd ...... Conditional cmd if file exists
  5594.      IFIF op1 <=> op2 THENTHEN .......... Conditional block using two oprnds
  5595.      IFIF [NOT] EXIST file THENTHEN ..... Conditional block if file exists
  5596.      LOOPLOOP label ................... Loop to label if more tagged files
  5597.      MACROMENUMACROMENU ON/OFF ............. Turn menu mode on or off
  5598.      PAUSEPAUSE [text] ................. Pause for keystroke
  5599.      PRINTSTRPRINTSTR text ................ Send text to the printer
  5600.      REMREM [text] ................... Remark (comment) line
  5601.      RETURNRETURN ....................... Return to macro after GOSUBMF
  5602.      RUNMACRORUNMACRO key[key] ............ Set macro key to run (i.e. /F1)
  5603.      SELECTSELECT mask [text][/d][/n] ... Display a menu of files to sel from
  5604.      SETSET var=text ................. Set environment or temp variable
  5605.  
  5606.  
  5607.  
  5608.  
  5609.  
  5610.  
  5611.  
  5612.  
  5613.  
  5614.  
  5615.  
  5616.  
  5617.  
  5618.  
  5619.  
  5620.  
  5621.  
  5622.  
  5623.  
  5624.  
  5625.  
  5626.  
  5627.                                        8181
  5628.  
  5629.                                      Macro Keys - Variables Quick Reference
  5630.      ----------------------------------------------------------------------
  5631.  
  5632.  
  5633.  
  5634.  
  5635.                       Macro Key Variables Quick ReferenceMacro Key Variables Quick Reference
  5636.  
  5637.      %0 - %9 .. Temporary variables (set with SET or GET)
  5638.      %FN ...... Currently selected file (no extension)
  5639.      %FE ...... Currently selected file and extension
  5640.      %TN ...... Current tagged filename (no extension)
  5641.      %TE ...... Current tagged filename and extension
  5642.      %DN ...... Current DO filename (no extension)
  5643.      %DE ...... Current DO filename and extension
  5644.      %SN ...... Filename (no extension) selected with SELECT
  5645.      %SE ...... Filename and extension selected with SELECT
  5646.      %SC ...... Count of files found by SELECT
  5647.      %TC ...... Count of tagged files
  5648.      %EL ...... Last error level returned by a program
  5649.      %DD ...... Default drive
  5650.      %CD ...... Current subdirectory
  5651.      %OD ...... Original default drive macro was run from
  5652.      %OS ...... Original subdirectory macro was run from
  5653.      %TI ...... System time
  5654.      %DT ...... System date
  5655.      %KB ...... Keyboard character if avail, else = %(255)
  5656.      %W ....... Forces a pause when macro terminates
  5657.      %(###) ... Generate untypeable ASCII character
  5658.      %var% .... Access an environment variable
  5659.  
  5660.  
  5661.  
  5662.  
  5663.  
  5664.  
  5665.  
  5666.  
  5667.  
  5668.  
  5669.  
  5670.  
  5671.  
  5672.  
  5673.  
  5674.  
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.  
  5681.  
  5682.  
  5683.  
  5684.  
  5685.  
  5686.  
  5687.  
  5688.  
  5689.  
  5690.  
  5691.                                        8282
  5692.  
  5693.                                              Macro Keys - Command Reference
  5694.      ----------------------------------------------------------------------
  5695.  
  5696.  
  5697.  
  5698.  
  5699.                           Macro Key Command ReferenceMacro Key Command Reference
  5700.  
  5701.      The following section describes the macro commands in detail.
  5702.  
  5703.      All macro  commands recognized  by dCOM are executed directly by dCOM,
  5704.      not by building some temporary batch file and then calling COMMAND.COM
  5705.      to execute it like some other menu programs and shells....
  5706.  
  5707.      When a  ASCII  macro  file  is  compiled  ("tokenized"),  unrecognized
  5708.      commands are  considered programs  which, will be run directly by dCOM
  5709.      without calling  a second  copy of  COMMAND.COM.  Before considering a
  5710.      command unrecognized,  it is scanned against a list of internal MS-DOS
  5711.      commands.   If the  command matches  an internal  MS-DOS command (i.e.
  5712.      TIME, COPY,  etc...), a  second copy of COMMAND.COM is used to run it.
  5713.      When a program is run directly, all forms of redirection are supported
  5714.      except piping.   If  you need  piping, then you should start the macro
  5715.      line with  a ">"  to force dCOM to use a second copy of COMMAND.COM to
  5716.      run the program instead of dCOM running the program directly.
  5717.  
  5718.      Leading  and   trailing  spaces   are  always   ignored   for   memory
  5719.      conservation.  Additionally, spaces imbedded between a command and its
  5720.      parameters are  also ignored.   The only time when this might prove to
  5721.      be a  problem is  if you  use the ECHO command and want to indent some
  5722.      with spaces  before the  text is  displayed.    To  work  around  this
  5723.      idiosyncrasy, use  some tab  characters to space with between the ECHO
  5724.      command and its text.
  5725.  
  5726.      Comments may  be specified  at any  place in a macro line by using two
  5727.      semicolons in  sequence ("; ;").   When  a comment is encountered, the
  5728.      rest of  the line is ignored and consumes no memory.  If tabs are used
  5729.      before a  comment to  position it on a consistent column, they too are
  5730.      considered insignificant and consume no memory.
  5731.  
  5732.      In the  unlikely event  that one  of the macro commands coincides with
  5733.      the name  of a  program you  are trying  to run, precede the program's
  5734.      name with  a ">"  to force dCOM to use a second copy of COMMAND.COM to
  5735.      run the  program and  keep it  from  mistakenly  executing  the  macro
  5736.      command instead of the program.
  5737.  
  5738.      The macro  command set is batch file compatible (meaning you should be
  5739.      able to  directly import a batch file and then precede it with a title
  5740.      line), with  the exception  of  the  batch  "IF  ERRORLEVEL  ##  GOTO"
  5741.      command.     The  equivalent   statement  using   the  macro  keys  is
  5742.      "IF  %EL=>##  GOTO".
  5743.  
  5744.  
  5745.      ,---------------------------------------------------------------------,
  5746.        d:d:     |                                                                     |
  5747.      `---------------------------------------------------------------------'
  5748.        Sets a new default drive  (i.e. "A:", or "C:").
  5749.  
  5750.  
  5751.  
  5752.  
  5753.  
  5754.  
  5755.                                        8383
  5756.  
  5757.                                              Macro Keys - Command Reference
  5758.      ----------------------------------------------------------------------
  5759.  
  5760.      ,---------------------------------------------------------------------,
  5761.        :label:label     |                                                                     |
  5762.      `---------------------------------------------------------------------'
  5763.        Designates a label or comment.
  5764.  
  5765.        Any line beginning with a colon is considered a label.
  5766.  
  5767.        Labels are  used to  specify the  target of  a GOTO  or  LOOP  macro
  5768.        command.  Label lines themselves are not executed.  When you enter a
  5769.        label's text  as part  of a GOTO or LOOP command, do not include the
  5770.        colon -  just the  text following  the colon.   Labels  may  contain
  5771.        imbedded spaces with no ill effect and are case insensitive.
  5772.  
  5773.        This command behaves identically with its MS-DOS counterpart.
  5774.  
  5775.  
  5776.      ,---------------------------------------------------------------------,
  5777.        BEEPBEEP     |                                                                     |
  5778.      `---------------------------------------------------------------------'
  5779.         Beeps the speaker
  5780.  
  5781.  
  5782.      ,---------------------------------------------------------------------,
  5783.        CDCD path     |                                                                     |
  5784.        CHDIRCHDIR path     |                                                                     |
  5785.      `---------------------------------------------------------------------'
  5786.        Changes the current directory.
  5787.  
  5788.        If no drive is given, the default drive is assumed.
  5789.  
  5790.        This command behaves identically with its MS-DOS counterpart.
  5791.  
  5792.  
  5793.      ,---------------------------------------------------------------------,
  5794.        CDDCDD [d:][path]     |                                                                     |
  5795.      `---------------------------------------------------------------------'
  5796.        Changes both the default drive and its current directory.
  5797.  
  5798.        This command is provided as a shortcut to having to use two lines to
  5799.        change drives and subdirectories before running a program, etc....
  5800.  
  5801.  
  5802.      ,---------------------------------------------------------------------,
  5803.        CDDOCDDO     |                                                                     |
  5804.      `---------------------------------------------------------------------'
  5805.        Changes back to what was the default drive and its current directory
  5806.        when the macro key was originally executed.
  5807.  
  5808.        Even though the logical use of this command would be on the end of a
  5809.        macro key,  the use of this command is purely optional and can occur
  5810.        more than once as desired.
  5811.  
  5812.  
  5813.  
  5814.  
  5815.  
  5816.  
  5817.  
  5818.  
  5819.                                        8484
  5820.  
  5821.                                              Macro Keys - Command Reference
  5822.      ----------------------------------------------------------------------
  5823.  
  5824.      ,---------------------------------------------------------------------,
  5825.        CLSCLS     |                                                                     |
  5826.      `---------------------------------------------------------------------'
  5827.        Clears the screen and homes the cursor.
  5828.  
  5829.        This command behaves identically with its MS-DOS counterpart.
  5830.  
  5831.  
  5832.      ,---------------------------------------------------------------------,
  5833.        CPOSNCPOSN [line][,column]     |                                                                     |
  5834.      `---------------------------------------------------------------------'
  5835.        Positions the cursor to the line and/or column specified.
  5836.  
  5837.  
  5838.      ,---------------------------------------------------------------------,
  5839.        DODO mask     |                                                                     |
  5840.      `---------------------------------------------------------------------'
  5841.        Repeatedly executes a block of macro lines following the DO command,
  5842.        up to  the matching  ENDDO, for each occurrence of a file found with
  5843.        mask.
  5844.  
  5845.        Within a  DO block, the %DN and %DE variables are used to access the
  5846.        current   iteration's    filename,   or   filename   and   extension
  5847.        (respectively).
  5848.  
  5849.        If no  files  qualify  with  the  mask  specified,  execution  jumps
  5850.        immediately around the DO block.
  5851.  
  5852.        Loading TSR's  within a  DO block  should be  avoided.   When the DO
  5853.        command is  encountered, a  memory block  is allocated and filled in
  5854.        with a  list of files that qualify with the mask given.  If a TSR is
  5855.        loaded within  the DO block, it will "sandwich" the DO memory block,
  5856.        making it  useless after  it is  deallocated  when  the  DO  command
  5857.        terminates.
  5858.  
  5859.        DO commands ARE NOT nestable.
  5860.  
  5861.        Example:
  5862.  
  5863.           [F1]  CONV .ARC TO .ZIP       ;;TITLE LINE AND SWITCHES
  5864.           MD C:\Z$                      ;;MAKE A TEMPORARY DIRECTORY
  5865.           DODO *.ARC                      ;;START OF DO BLOCK
  5866.            PKUNPAK %DE%DE C:\Z$            ;; UNARCHIVE CURRENT DO FILE
  5867.            DEL %DE%DE                      ;; DELETE CURRENT DO FILE
  5868.            PKZIP -m %DN%DN C:\Z$\*.*       ;; REZIP (MOVE) TO DO FILE
  5869.           ENDDOENDDO                         ;;END OF DO BLOCK
  5870.           RD C:\Z$                      ;;REMOVE TEMPORARY DIRECTORY
  5871.  
  5872.  
  5873.      ,---------------------------------------------------------------------,
  5874.        ECHOECHO text     |                                                                     |
  5875.      `---------------------------------------------------------------------'
  5876.        Echo's (displays) text to the screen.
  5877.  
  5878.        The cursor is automatically advanced to the next line after the text
  5879.        is displayed  unless the  text ends  with a  semicolon (";"),  which
  5880.        isn't displayed.   The  ECHO command supports redirection (using the
  5881.  
  5882.  
  5883.                                        8585
  5884.  
  5885.                                              Macro Keys - Command Reference
  5886.      ----------------------------------------------------------------------
  5887.  
  5888.        ">", ">>",  an "<"  operators) but,  as with  other macro  commands,
  5889.        piping is  not internally supported.  If you need piping, prefix the
  5890.        ECHO command  with a ">" to force dCOM to use COMMAND.COM to execute
  5891.        the line (i.e. ">ECHO  Y|DEL  C:\TEMP\*.*").
  5892.  
  5893.  
  5894.      ,---------------------------------------------------------------------,
  5895.        ENDDOENDDO     |                                                                     |
  5896.      `---------------------------------------------------------------------'
  5897.        Specifies the end of a DO block.
  5898.  
  5899.  
  5900.      ,---------------------------------------------------------------------,
  5901.        ENDIFENDIF     |                                                                     |
  5902.      `---------------------------------------------------------------------'
  5903.        Specifies the end of an IF block.
  5904.  
  5905.  
  5906.      ,---------------------------------------------------------------------,
  5907.        EXITEXIT     |                                                                     |
  5908.      `---------------------------------------------------------------------'
  5909.        Forces an early termination of the macro key.
  5910.  
  5911.  
  5912.      ,---------------------------------------------------------------------,
  5913.        GETGET tvar [prompt]     |                                                                     |
  5914.      `---------------------------------------------------------------------'
  5915.        Gets a  response  from  the  keyboard  into  a  temporary  variable,
  5916.        optionally displaying  a prompt  first.  For more information on the
  5917.        temporary variables (%0 - %9), refer to Macro Variables Reference.
  5918.  
  5919.        If the Esc key is pressed, the macro key is terminated.
  5920.  
  5921.        Example:
  5922.  
  5923.           [F1]  ARC TAG'D FILES         ;;TITLE LINE AND SWITCHES
  5924.           GETGET %1 Enter Zip File:        ;;GET .ZIP FILENAME IN %1
  5925.           :L1                           ;;LABEL FOR LOOP JUMP
  5926.            ECHO Arcing %TE to %1        ;; DISPLAY CURRENT LOOP FILE
  5927.            PKZIP -ex %1 %TE >NUL        ;; ADD IT TO .ZIP FILE
  5928.           LOOP L1                       ;;LOOP THROUGH TAGGED FILES
  5929.  
  5930.  
  5931.      ,---------------------------------------------------------------------,
  5932.        GOTOMFGOTOMF macrofile [key]     |                                                                     |
  5933.      `---------------------------------------------------------------------'
  5934.        Specifies and  loads a  new active  macro file but does not save any
  5935.        return information.
  5936.  
  5937.        If the  optional key  (e.g. F1  or  SF10)  is  also  specified,  the
  5938.        specified macro  key(s) are executed immediately after the new macro
  5939.        file loads.    Multiple  key's  can  be  given  by  preceding  their
  5940.        occurrence(s) with  a "/".  Multiple key's are executed in numerical
  5941.        order, not the order specified.
  5942.  
  5943.  
  5944.  
  5945.  
  5946.  
  5947.                                        8686
  5948.  
  5949.                                              Macro Keys - Command Reference
  5950.      ----------------------------------------------------------------------
  5951.  
  5952.      ,---------------------------------------------------------------------,
  5953.        GOSUBMFGOSUBMF macrofile [key]     |                                                                     |
  5954.      `---------------------------------------------------------------------'
  5955.        Loads a new macro file, saving the current macro filename on a gosub
  5956.        stack.   RETURN is used to change back to the macro file active when
  5957.        GOSUBMF was  used.   The  gosub  stack  can  hold  9+  nested  macro
  5958.        filenames (depending on their length).
  5959.  
  5960.        If the  optional key  (e.g. F1  or  sF10)  is  also  specified,  the
  5961.        specified macro  key(s) are executed immediately after the new macro
  5962.        file loads.    Multiple  key's  can  be  given  by  preceding  their
  5963.        occurrence(s) with  a "/".  Multiple key's are executed in numerical
  5964.        order, not the order specified.
  5965.  
  5966.        Returning from a gosub'd macro file does not continue execution with
  5967.        the macro  line following  the GOSUBMF.  The complexities to support
  5968.        this are beyond the scope for which this command was intended.
  5969.  
  5970.        This command performs an automatic MACROMENU ON.  If you were in the
  5971.        utility mode and you executed a macro key that has this command, the
  5972.        new macro file would load and pop-up automatically.  When you finish
  5973.        with the gosub'd menu, the utility mode automatically returns to the
  5974.        original macro file.
  5975.  
  5976.        Using the  GOSUBMF command  is the  key to  building layered menuing
  5977.        structures.  Refer to Menuing for more information.
  5978.  
  5979.        Example:
  5980.  
  5981.           MAIN MENU                     ;;MENU TITLE
  5982.  
  5983.           [F1]  FORMAT DISK MENU        ;;TITLE LINE AND SWITCHES
  5984.           GOSUBMFGOSUBMF FORMAT                ;;CALL FORMAT MACRO FILE
  5985.  
  5986.           [F2]  WORD PROC MENU          ;;TITLE LINE AND SWITCHES
  5987.           GOSUBMFGOSUBMF WORDPROC              ;;CALL WORDPROC MACRO FILE
  5988.  
  5989.                 ■
  5990.                 ■
  5991.  
  5992.           [sF10]  UTILITY MENU          ;;TITLE LINE AND SWITCHES
  5993.           GOSUBMFGOSUBMF UTILITYS              ;;CALL UTILITYS MACRO FILE
  5994.  
  5995.  
  5996.        This  example  calls  FORMAT.MAC,  WORDPROC.MAC,  and  UTILITYS.MAC.
  5997.        Their macro  keys would then perform the tasks desired, along with a
  5998.        key that performs a RETURN.
  5999.  
  6000.  
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008.  
  6009.  
  6010.  
  6011.                                        8787
  6012.  
  6013.                                              Macro Keys - Command Reference
  6014.      ----------------------------------------------------------------------
  6015.  
  6016.      ,---------------------------------------------------------------------,
  6017.        GOTOGOTO label     |                                                                     |
  6018.      `---------------------------------------------------------------------'
  6019.        Jumps unconditionally  to the label specified.  If the label used is
  6020.        "ENDM", the  macro key  will be terminated (serving the same purpose
  6021.        as using  the  EXIT  command  -  but  carried  forward  to  maintain
  6022.        compatibility).
  6023.  
  6024.  
  6025.  
  6026.  
  6027.  
  6028.  
  6029.  
  6030.  
  6031.  
  6032.  
  6033.  
  6034.  
  6035.  
  6036.  
  6037.  
  6038.  
  6039.  
  6040.  
  6041.  
  6042.  
  6043.  
  6044.  
  6045.  
  6046.  
  6047.  
  6048.  
  6049.  
  6050.  
  6051.  
  6052.  
  6053.  
  6054.  
  6055.  
  6056.  
  6057.  
  6058.  
  6059.  
  6060.  
  6061.  
  6062.  
  6063.  
  6064.  
  6065.  
  6066.  
  6067.  
  6068.  
  6069.  
  6070.  
  6071.  
  6072.  
  6073.  
  6074.  
  6075.                                        8888
  6076.  
  6077.                                              Macro Keys - Command Reference
  6078.      ----------------------------------------------------------------------
  6079.  
  6080.      ,---------------------------------------------------------------------,
  6081.        IFIF op1 <=> op2 command     |                                                                     |
  6082.        IFIF [NOT] EXISTEXIST pathname command     |                                                                     |
  6083.        IFIF op1 <=> op2 THENTHEN     |                                                                     |
  6084.        IFIF [NOT] EXISTEXIST pathname THENTHEN     |                                                                     |
  6085.      `---------------------------------------------------------------------'
  6086.        Executes a  command or  block of  commands  if  the  result  of  the
  6087.        expression is true.
  6088.  
  6089.        The command  can  be  any  valid  macro  command  or  program  name,
  6090.        including another  IF command.   This  means you  can nest  many  IF
  6091.        commands on one line (subject only to the maximum line length of 255
  6092.        characters), which  would result in the command of the last IF to be
  6093.        executed only  when all  IF expressions  are true  (a  gigantic  AND
  6094.        condition).
  6095.  
  6096.        If the  key word  "THEN" is used instead of macro command or program
  6097.        name, the  block of macro lines following the IF command (terminated
  6098.        with a  matching ENDIF)  are executed  if the  expression  is  true;
  6099.        otherwise, execution  continues with  the macro  line following  the
  6100.        matching ENDIF.  Block IF commands are nestable to no limit.
  6101.  
  6102.        When you  write an  IF command,  care must  be taken  to ensure that
  6103.        Operand2 DOES  NOT contain any imbedded spaces between what is meant
  6104.        to be the start of Operand2 and what was meant to be its end, in its
  6105.        original form.   Spaces are used internally to delimit Operand2 from
  6106.        the start  of the command to execute.  If Operand2 expands into some
  6107.        spaces because of a variable, this is not a problem.
  6108.  
  6109.        If you  are using an IF command with relational operators ("<", "=",
  6110.        or ">"),  at least  one must  be specified, but more than one can be
  6111.        used.   If both  operands are  totally numeric, a numeric comparison
  6112.        will be used.  When operands are not numeric, the comparison is case
  6113.        insensitive.   If operand1  is shorter than operand2 but equal to it
  6114.        for as  many characters  as it  has, it will be considered less than
  6115.        operand2.   The NOT  operator, though  not shown,  can also  be used
  6116.        before operand1 to invert the result of a true/false comparison.
  6117.  
  6118.        If you  are using  the EXIST  form of  the IF  command, the pathname
  6119.        given can  include wildcards ("?" and "*"), and also a pathspec to a
  6120.        drive or directory other than the default.
  6121.  
  6122.        Examples:
  6123.  
  6124.           [F1]  COMPILE FILE/w          ;;TITLE LINE AND SWITCHES
  6125.           MASM %FN,,%FN;                ;;COMPILE SELECTED FILE
  6126.           IFIF %EL>0 GOTO ERROR           ;;IF ERROR GOTO ERROR
  6127.           LINK %FN;                     ;;LINK THE PROGRAM
  6128.           IFIF %EL>0 GOTO ERROR           ;;IF ERROR GOTO ERROR
  6129.           DEL %FN.OBJ                   ;;DELETE THE .OBJ FILE
  6130.           EXIT                          ;;EXIT THE MACRO KEY
  6131.           :ERROR                        ;;LABEL FOR GOTO ERROR
  6132.           BEEP                          ;;BEEP THE SPEAKER
  6133.  
  6134.  
  6135.           [F1]  MOVE .BAK FILES         ;;TITLE LINE AND SWITCHES
  6136.           IF EXISTIF EXIST *.BAK THENTHEN           ;;IF THERE ARE ANY .BAK FILES
  6137.  
  6138.  
  6139.                                        8989
  6140.  
  6141.                                              Macro Keys - Command Reference
  6142.      ----------------------------------------------------------------------
  6143.  
  6144.            COPY *.BAK D:\BACKUP         ;; THEN COPY THEM TO D:\BACKUP
  6145.            DEL *.BAK                    ;; AND THEN DELETE THEM
  6146.           ENDIFENDIF                         ;;END OF IF BLOCK
  6147.  
  6148.  
  6149.      ,---------------------------------------------------------------------,
  6150.        LOOPLOOP label     |                                                                     |
  6151.      `---------------------------------------------------------------------'
  6152.        Loops back  to the  label specified  for each occurrence of a tagged
  6153.        file.
  6154.  
  6155.        Within a  LOOP block,  the %TN  and %TE variables are used to access
  6156.        the  current   iteration's  filename,   or  filename  and  extension
  6157.        (respectively).
  6158.  
  6159.        If no  files are tagged, encountering a %TN or %TE variable during a
  6160.        macro key's  execution generates  an error.   This  condition can be
  6161.        trapped using the %TC variable to test whether any files are tagged.
  6162.  
  6163.          Example:
  6164.  
  6165.           [F1]  ARCHIVE TAGGED/W        ;;TITLE LINE AND SWITCHES
  6166.           IF %TC%TC < 1 THEN               ;;IF THERE ARE NO TAGGED FILES
  6167.            BEEP                         ;; THEN BEEP THE SPEAKER
  6168.            ECHO Need Tagged Files       ;; DISPLAY ERROR MESSAGE
  6169.            EXIT                         ;; AND EXIT THE MACRO KEY
  6170.           ENDIF                         ;;END OF IF BLOCK
  6171.           GET %1 Enter Arc File:        ;;GET A FILENAME IN %1
  6172.           :L1:L1                           ;;START OF LOOP BLOCK
  6173.            ECHO Zipping %TE%TE to %1       ;; DISPLAY CURRENT LOOP FILE
  6174.            PKZIP %1 %TE%TE >NUL            ;; ADD IT TO .ZIP FILE
  6175.           LOOP L1LOOP L1                       ;;LOOP THROUGH TAGGED FILES
  6176.  
  6177.  
  6178.  
  6179.  
  6180.  
  6181.  
  6182.  
  6183.  
  6184.  
  6185.  
  6186.  
  6187.  
  6188.  
  6189.  
  6190.  
  6191.  
  6192.  
  6193.  
  6194.  
  6195.  
  6196.  
  6197.  
  6198.  
  6199.  
  6200.  
  6201.  
  6202.  
  6203.                                        9090
  6204.  
  6205.                                              Macro Keys - Command Reference
  6206.      ----------------------------------------------------------------------
  6207.  
  6208.      ,---------------------------------------------------------------------,
  6209.        MACROMENUMACROMENU ON/OFF     |                                                                     |
  6210.      `---------------------------------------------------------------------'
  6211.        Turns the display of macro key titles (menu) on or off.
  6212.  
  6213.        Using "MACROMENU  ON" might  be used in conjunction with a GOTOMF in
  6214.        order to  change macro  files and  then pop-up the new menu of macro
  6215.        keys.   If you  do so,  use the  MACROMENU command before the GOTOMF
  6216.        command because  the GOTOMF  command is  executed immediately.   The
  6217.        GOSUBMF macro  command automatically  turns the MACROMENU ON, making
  6218.        its use in conjunction with this command redundant.
  6219.  
  6220.        If the  menu mode is active (/M or /MP command line switches), using
  6221.        "MACROMENU  OFF" deactivates  the menu  mode, causing  dCOM to  drop
  6222.        down to  its utility  mode.   (Pressing Esc  does the same thing but
  6223.        requires  the   access  password   if  /MP   was   used.)      Using
  6224.        "MACROMENU  OFF" in  a password  protected macro  key allows  you to
  6225.        provide another  way  to  exit  the  menu  mode  without  having  to
  6226.        unnecessarily compromise the system's access password.
  6227.  
  6228.        Example:
  6229.  
  6230.           [F1]  UTILITY MODE/P:pwd      ;;TITLE LINE AND SWITCHES
  6231.           MACROMENU OFFMACROMENU OFF                 ;;EXIT MENU MODE
  6232.  
  6233.  
  6234.      ,---------------------------------------------------------------------,
  6235.        PAUSEPAUSE [text]     |                                                                     |
  6236.      `---------------------------------------------------------------------'
  6237.        Displays the  message "Press  Return to Proceed or Escape to Cancel"
  6238.        and waits for a proper response.
  6239.  
  6240.        If text  is also  supplied, it is displayed on the line prior to the
  6241.        pause message.
  6242.  
  6243.        If the  Esc  key  is  pressed  at  the  prompt,  the  macro  key  is
  6244.        terminated.
  6245.  
  6246.  
  6247.      ,---------------------------------------------------------------------,
  6248.        PRINTSTRPRINTSTR text     |                                                                     |
  6249.      `---------------------------------------------------------------------'
  6250.        Sends text to the default printer device.
  6251.  
  6252.        A carriage  return/line-feed sequence is NOT automatically appended.
  6253.        If one is needed, append a "%(13)%(10)" to the text being printed.
  6254.  
  6255.        Example:
  6256.  
  6257.           [F1]  SET COMPRESSED          ;;TITLE LINE AND SWITCHES
  6258.           PRINTSTRPRINTSTR %(15)                ;;SEND COMPRESSED CODE
  6259.  
  6260.  
  6261.  
  6262.  
  6263.  
  6264.  
  6265.  
  6266.  
  6267.                                        9191
  6268.  
  6269.                                              Macro Keys - Command Reference
  6270.      ----------------------------------------------------------------------
  6271.  
  6272.      ,---------------------------------------------------------------------,
  6273.        REMREM [text]     |                                                                     |
  6274.      `---------------------------------------------------------------------'
  6275.        Used to include a remark or comment text.
  6276.  
  6277.        Remark lines are ignored when compiled and consume no memory.
  6278.  
  6279.  
  6280.      ,---------------------------------------------------------------------,
  6281.        RETURNRETURN     |                                                                     |
  6282.      `---------------------------------------------------------------------'
  6283.        Returns to  (loads) the previous macro file which had used a GOSUBMF
  6284.        command to call in the current macro file.
  6285.  
  6286.        If RETURN  is encountered  and no GOSUBMF is in effect, no action is
  6287.        taken and execution continues with the following macro line.
  6288.  
  6289.  
  6290.      ,---------------------------------------------------------------------,
  6291.        RUNMACRORUNMACRO key     |                                                                     |
  6292.      `---------------------------------------------------------------------'
  6293.        Specifies an  additional macro  key to  be executed when the current
  6294.        macro key terminates.
  6295.  
  6296.        Multiple key's  can be given by preceding their occurrence(s) with a
  6297.        "/".
  6298.  
  6299.  
  6300.      ,---------------------------------------------------------------------,
  6301.        SELECTSELECT mask [text][/d][/n]     |                                                                     |
  6302.      `---------------------------------------------------------------------'
  6303.        Displays a  menu of  files found  in mask.   A selected filename can
  6304.        then be  accessed in  following macro  lines using  the %SN  and %SE
  6305.        variables.   The count  of files found with the mask can be accessed
  6306.        with the %SC variable.
  6307.  
  6308.        If no  files qualify  with  the  mask,  no  menu  is  displayed  and
  6309.        execution continues  with the following macro line.  The %SN and %SE
  6310.        variables will then return a null string.  If needed, this condition
  6311.        can be tested for using the %SC variable in an IF command, after the
  6312.        SELECT command.
  6313.  
  6314.        If the  menu is  aborted with the Esc key or mouse right button, the
  6315.        macro key is terminated.
  6316.  
  6317.        Any text  following the  mask will be displayed as header text above
  6318.        the menu of qualifying filenames.
  6319.  
  6320.        If the  /D switch  is specified,  subdirectory names  are  displayed
  6321.        instead of filenames.
  6322.  
  6323.        If the  /N switch  is specified,  a "[NewFile]"  selection  is  also
  6324.        included.   If "[NewFile]"  is selected,  the %SN  and %SE variables
  6325.        will return  a null  (empty) string.  If you then run a program only
  6326.        using one  of these  variables as  its parameters, a lot of programs
  6327.        will then  assume a  new file  since it just received nothing on its
  6328.        command line.   If  you wish  to test  whether "[NewFile]"  has been
  6329.  
  6330.  
  6331.                                        9292
  6332.  
  6333.                                              Macro Keys - Command Reference
  6334.      ----------------------------------------------------------------------
  6335.  
  6336.        selected before  running a  program, you could use the IF command as
  6337.        follows: "IF  [%SN]=[]  THEN".   The  square brackets  are necessary
  6338.        around both  operands so  that the IF command is assured of having a
  6339.        discernable 1st  operand.   (Any quoting  character would  serve for
  6340.        this test as long as its use is the same for both operands.)
  6341.  
  6342.        If the  macro key has done nothing to force the screen to be cleared
  6343.        (no ECHO  commands or  programs run),  the menu  of  filenames  will
  6344.        overlay dCOM's  utility screen  in bold  colors.   If the screen had
  6345.        been cleared by a preceding command, the menu will display using the
  6346.        current CGA  colors dCOM is configured for (if you are using the EGA
  6347.        palette, you will have to temporarily disable it to see what the CGA
  6348.        colors are).
  6349.  
  6350.        This command  was mainly intended for use in the menuing mode (/M or
  6351.        /MP command  line switches)  since no  opportunity would normally be
  6352.        given for  the user  to select  a file  before invoking a macro key.
  6353.        But this  in no  way implies  that its use is limited to the menuing
  6354.        mode.
  6355.  
  6356.        Example:
  6357.  
  6358.           [F1]  RUN MS-WORD             ;;TITLE LINE AND SWITCHES
  6359.           C:                            ;;SET DRIVE C AS DEFAULT
  6360.           CD \WORD                      ;;CHANGE DIR'S TO \WORD
  6361.           SELECTSELECT *.doc Pick File/N      ;;PICK A FILE TO EDIT
  6362.           WORD %SE%SE                      ;;RUN MS-WORD WITH THE FILE
  6363.           CD \                          ;;CHANGE DIR'S BACK TO ROOT
  6364.           CDDO                          ;;RETURN TO ORIG DRIVE & DIR
  6365.  
  6366.  
  6367.      ,---------------------------------------------------------------------,
  6368.        SETSET var=text     |                                                                     |
  6369.      `---------------------------------------------------------------------'
  6370.        Sets an environment or temporary variable.
  6371.  
  6372.        A temporary variable is set using the syntax: "SET  %0=text".
  6373.  
  6374.        A temporary  variable can  be set  to itself plus additional text by
  6375.        using: "SET  %0=%0  text".
  6376.  
  6377.        An environment variable can be set to itself plus additional text by
  6378.        using: "SET  PATH=%PATH%;c:\test".
  6379.  
  6380.        This command  behaves identically with its MS-DOS counterpart except
  6381.        that it doesn't "puke" when the environment space is full.
  6382.  
  6383.  
  6384.      ,---------------------------------------------------------------------,
  6385.        >>command     |                                                                     |
  6386.      `---------------------------------------------------------------------'
  6387.        Forces the command to be passed to a second copy of COMMAND.COM.
  6388.  
  6389.        Precede macro  lines with  a ">"  if you need piping or if a desired
  6390.        program's name  happens to coincide with the same name as one of the
  6391.        macro commands.
  6392.  
  6393.  
  6394.  
  6395.                                        9393
  6396.  
  6397.                                             Macro Keys - Variable Reference
  6398.      ----------------------------------------------------------------------
  6399.  
  6400.  
  6401.  
  6402.  
  6403.                           Macro Key Variable ReferenceMacro Key Variable Reference
  6404.  
  6405.      All macro  commands that  accept text  as an  argument (except labels)
  6406.      recognize the  use of  macro variables  and expand them into a special
  6407.      meaning.   Use of the variables is not case sensitive (meaning you can
  6408.      type them  in either  lower or  upper case).  Using these variables is
  6409.      the heart  of building  macros that  react to  what file  is currently
  6410.      selected, tagged files, etc....
  6411.  
  6412.      If you  invoke a  macro key  and the  currently selected file is named
  6413.      "MYLIFE.DOC", consider  the following  example of  how the %FN and %FE
  6414.      variables would expand:
  6415.  
  6416.             Macro Line             Becomes
  6417.           ,------------,      ,-----------------,
  6418.           |  word %fn  %fn  |----» |  word MYLIFEMYLIFE    |
  6419.           `------------'      `-----------------'
  6420.  
  6421.           ,------------,      ,-----------------,
  6422.           |  wp %fe %fe    |----» |  wp MYLIFE.DOCMYLIFE.DOC  |
  6423.           `------------'      `-----------------'
  6424.  
  6425.  
  6426.      The following section describes each macro variable in detail.
  6427.  
  6428.  
  6429.      ,---------------------------------------------------------------------,
  6430.        %0%0 - %9%9     |                                                                     |
  6431.      `---------------------------------------------------------------------'
  6432.        Are used to access a temporary variable.
  6433.  
  6434.        Temporary variables  are automatically  deleted after the last macro
  6435.        key terminates.   They  can be  used  to  hold  keyboard  responses,
  6436.        working values  or environment  variables, pass  parameters  between
  6437.        macro keys,  etc....   Temporary variables  use the  environment for
  6438.        storage.   If you  use them  frequently or  get a "Environment Space
  6439.        Full" error  in a  macro line  that uses  one, you should start dCOM
  6440.        with a  bigger environment  using the  /E command  line switch (i.e.
  6441.        /E300).  Refer to Command Line Switches for more information.
  6442.  
  6443.  
  6444.  
  6445.  
  6446.  
  6447.  
  6448.  
  6449.  
  6450.  
  6451.  
  6452.  
  6453.  
  6454.  
  6455.  
  6456.  
  6457.  
  6458.  
  6459.                                        9494
  6460.  
  6461.                                             Macro Keys - Variable Reference
  6462.      ----------------------------------------------------------------------
  6463.  
  6464.      ,---------------------------------------------------------------------,
  6465.        %FN%FN     |                                                                     |
  6466.        %FE%FE     |                                                                     |
  6467.      `---------------------------------------------------------------------'
  6468.        Expands into  the  currently  selected  filename  or  the  currently
  6469.        selected filename and its extension (respectively).  These variables
  6470.        cannot be  used in  a macro key designed to be used in the menu mode
  6471.        (/M or  /MP command  line switches) without producing an error since
  6472.        there is no way to select a file.
  6473.  
  6474.        Using these  variables in  a macro  command lets  you build your own
  6475.        point-n-shoot macro commands.
  6476.  
  6477.  
  6478.      ,---------------------------------------------------------------------,
  6479.        %TN%TN     |                                                                     |
  6480.        %TE%TE     |                                                                     |
  6481.      `---------------------------------------------------------------------'
  6482.        Expands into  the current iteration of a LOOP's filename or filename
  6483.        and extension  (respectively).   These variables cannot be used in a
  6484.        macro key  designed to  be used  in the menu mode (/M or /MP command
  6485.        line switches)  without producing  an error since there is no way to
  6486.        tag files.
  6487.  
  6488.        Using these  variables in  a LOOP block lets you build macro keys to
  6489.        handle multiple tagged files.
  6490.  
  6491.  
  6492.      ,---------------------------------------------------------------------,
  6493.        %DN%DN     |                                                                     |
  6494.        %DE%DE     |                                                                     |
  6495.      `---------------------------------------------------------------------'
  6496.        Expands into  the current  iteration of  a DO  block's  filename  or
  6497.        filename and extension (respectively).
  6498.  
  6499.        Using these  variables in  a DO  block lets  you build macro keys to
  6500.        handle multiple  files that  have something  in  common  (i.e.  .BAK
  6501.        files).
  6502.  
  6503.  
  6504.      ,---------------------------------------------------------------------,
  6505.        %SN%SN     |                                                                     |
  6506.        %SE%SE     |                                                                     |
  6507.      `---------------------------------------------------------------------'
  6508.        Expands  into   the  filename   or  filename   and   its   extension
  6509.        (respectively) that was picked with the last SELECT command.
  6510.  
  6511.  
  6512.      ,---------------------------------------------------------------------,
  6513.        %SC%SC     |                                                                     |
  6514.      `---------------------------------------------------------------------'
  6515.        Returns the count of files found with the last SELECT command.
  6516.  
  6517.  
  6518.  
  6519.  
  6520.  
  6521.  
  6522.  
  6523.                                        9595
  6524.  
  6525.                                             Macro Keys - Variable Reference
  6526.      ----------------------------------------------------------------------
  6527.  
  6528.      ,---------------------------------------------------------------------,
  6529.        %TC%TC     |                                                                     |
  6530.      `---------------------------------------------------------------------'
  6531.        Returns the count of files currently tagged.
  6532.  
  6533.  
  6534.      ,---------------------------------------------------------------------,
  6535.        %EL%EL     |                                                                     |
  6536.      `---------------------------------------------------------------------'
  6537.        Returns the last error level returned by the last program executed.
  6538.  
  6539.  
  6540.      ,---------------------------------------------------------------------,
  6541.        %DD%DD     |                                                                     |
  6542.      `---------------------------------------------------------------------'
  6543.        Returns the current default drive (i.e. "C:").
  6544.  
  6545.  
  6546.      ,---------------------------------------------------------------------,
  6547.        %CD%CD     |                                                                     |
  6548.      `---------------------------------------------------------------------'
  6549.        Returns the  current directory  (i.e. "\word\",  or "\").   The text
  6550.        returned will always have a trailing backslash.
  6551.  
  6552.  
  6553.      ,---------------------------------------------------------------------,
  6554.        %OD%OD     |                                                                     |
  6555.      `---------------------------------------------------------------------'
  6556.        Returns the  original drive which was the default when the macro key
  6557.        was first invoked.
  6558.  
  6559.  
  6560.      ,---------------------------------------------------------------------,
  6561.        %OS%OS     |                                                                     |
  6562.      `---------------------------------------------------------------------'
  6563.        Returns the  original subdirectory  which was  the current directory
  6564.        when the macro key was first invoked.  The text returned will always
  6565.        have a trailing backslash making it suitable for use in combinations
  6566.        with other variables (i.e. %OD%OS%FE would produce the full pathspec
  6567.        to the originally selected file).
  6568.  
  6569.  
  6570.  
  6571.  
  6572.  
  6573.  
  6574.  
  6575.  
  6576.  
  6577.  
  6578.  
  6579.  
  6580.  
  6581.  
  6582.  
  6583.  
  6584.  
  6585.  
  6586.  
  6587.                                        9696
  6588.  
  6589.                                             Macro Keys - Variable Reference
  6590.      ----------------------------------------------------------------------
  6591.  
  6592.      ,---------------------------------------------------------------------,
  6593.        %KB%KB     |                                                                     |
  6594.      `---------------------------------------------------------------------'
  6595.        Returns a  keyboard character  if one  is waiting  in  the  keyboard
  6596.        buffer.
  6597.  
  6598.        If no  keyboard character is waiting, a value of %(255) is returned.
  6599.        If the  keyboard character  waiting is  an ASCII 0 (used as a escape
  6600.        character when  some  extended  keys  like  the  function  keys  are
  6601.        pressed), it will be translated to a %(254).
  6602.  
  6603.        This variable  must be used in connection with the SET command since
  6604.        it is impossible to call it again and get the same character.
  6605.  
  6606.        Example:
  6607.  
  6608.           [F1]  WAIT FOR KEYPRESS       ;;TITLE LINE AND SWITCHES
  6609.           :L1                           ;;JUMP POINT IF NO KEY
  6610.           SET %1=%KB%KB                    ;;%1=POSSIBLE KEYBOARD CHAR
  6611.           IF %1=%(255) GOTO L1          ;;NO KEYBOARD CHARACTER YET
  6612.           ECHO Key pressed was: %1      ;;DISPLAY THE KEY PRESSED
  6613.  
  6614.  
  6615.      ,---------------------------------------------------------------------,
  6616.        %TI%TI     |                                                                     |
  6617.      `---------------------------------------------------------------------'
  6618.        Returns the current system time in the format: HH:MM:SS.
  6619.  
  6620.  
  6621.      ,---------------------------------------------------------------------,
  6622.        %DT%DT     |                                                                     |
  6623.      `---------------------------------------------------------------------'
  6624.        Returns the current system date in the format: YY-MM-DD.
  6625.  
  6626.  
  6627.      ,---------------------------------------------------------------------,
  6628.        %(###)%(###)     |                                                                     |
  6629.      `---------------------------------------------------------------------'
  6630.        Generates an untypeable ASCII character.
  6631.  
  6632.        This could  be handy  for sending printer codes, etc...  There is no
  6633.        requirement to provide three digits if only one or two are needed.
  6634.  
  6635.        Examples:
  6636.  
  6637.  
  6638.  
  6639.           [F1]  WAIT FOR KEYPRESS       ;;TITLE LINE AND SWITCHES
  6640.           :L1                           ;;JUMP POINT IF NO KEY
  6641.           SET %1=%KB                    ;;%1=POSSIBLE KEYBOARD CHAR
  6642.           IF %1=%(255)%(255) GOTO L1          ;;NO KEYBOARD CHARACTER YET
  6643.           ECHO Key pressed was: %1      ;;DISPLAY THE KEY PRESSED
  6644.  
  6645.  
  6646.           [F1]  SET COMPRESSED          ;;TITLE LINE AND SWITCHES
  6647.           PRINTSTR %(15)%(15)                ;;SEND COMPRESSED CODE
  6648.  
  6649.  
  6650.  
  6651.                                        9797
  6652.  
  6653.                                             Macro Keys - Variable Reference
  6654.      ----------------------------------------------------------------------
  6655.  
  6656.  
  6657.      ,---------------------------------------------------------------------,
  6658.        %var%%var%     |                                                                     |
  6659.      `---------------------------------------------------------------------'
  6660.        Returns the current contents of an environment variable.
  6661.  
  6662.        This could  be handy  if you want to temporarily change the contents
  6663.        of an  environment variable,  and then change it back, or expand the
  6664.        current contents  of one  without having  to worry  about what it is
  6665.        already set  to.   You can  also use  the IF  command to test on the
  6666.        value of an environment variable.
  6667.  
  6668.        Example:
  6669.  
  6670.           [F1]  REVISE PATH             ;;TITLE LINE AND SWITCHES
  6671.           SET %9=%PATH%%PATH%                 ;;SAVE CURRENT PATH IN %9
  6672.           SET PATH=%PATH%%PATH%;C:\WORD       ;;REVISE IT TO INCLUDE C:\WORD
  6673.           WORD                          ;;RUN MS-WORD FROM PATH
  6674.           SET PATH=%9                   ;;RESTORE PATH TO ORIG CONTENTS
  6675.  
  6676.  
  6677.  
  6678.  
  6679.  
  6680.  
  6681.  
  6682.  
  6683.  
  6684.  
  6685.  
  6686.  
  6687.  
  6688.  
  6689.  
  6690.  
  6691.  
  6692.  
  6693.  
  6694.  
  6695.  
  6696.  
  6697.  
  6698.  
  6699.  
  6700.  
  6701.  
  6702.  
  6703.  
  6704.  
  6705.  
  6706.  
  6707.  
  6708.  
  6709.  
  6710.  
  6711.  
  6712.  
  6713.  
  6714.  
  6715.                                        9898
  6716.  
  6717.                                                       Macro Keys - Examples
  6718.      ----------------------------------------------------------------------
  6719.  
  6720.  
  6721.  
  6722.  
  6723.                                Macro Key ExamplesMacro Key Examples
  6724.  
  6725.      The following  examples are  provided to  help illustrate dCOM's macro
  6726.      key capabilities  and not  to in  any  way  imply  an  endorsement  or
  6727.      advocate the use of one brand of software over another.
  6728.  
  6729.      When considering  these examples,  a certain amount of interpretation,
  6730.      adjustment, and/or  substitution may  be required  to  suit  your  own
  6731.      situations.
  6732.  
  6733.      Each of  the macro  examples uses  the  F1  key  for  its  title  line
  6734.      definition.  If you implement any of these examples, you will probably
  6735.      need to  change F1  to a  key that hasn't already been defined.  Also,
  6736.      every macro  line has  been commented  with an explanation of what the
  6737.      line does.  If you use these examples as a basis to build some of your
  6738.      macro keys, typing in the comments is purely optional.
  6739.  
  6740.  
  6741.                     Changing to a Frequently Used DirectoryChanging to a Frequently Used Directory
  6742.  
  6743.      ,---------------------------------------------------------------------,
  6744.        [F1]  CD C:\DOCS                      ;;TITLE LINE AND SWITCHES     |                                                                     |
  6745.        CDD C:\DOCS                           ;;CHANGE DRIVE & DIRS     |                                                                     |
  6746.      `---------------------------------------------------------------------'
  6747.  
  6748.      This example  changes drives  and subdirectories  to  C:\DOCS.    Even
  6749.      something as  simple as this can prove to be quite a time saver if you
  6750.      have a  reason to frequently visit particular subdirectories.  Another
  6751.      variation along the same lines would be to use a macro key to just log
  6752.      a new  drive.   This would  be done  by replacing  "CDD C:\DOCS"  with
  6753.      something like "A:".
  6754.  
  6755.  
  6756.  
  6757.                                Running a ProgramRunning a Program
  6758.  
  6759.      ,---------------------------------------------------------------------,
  6760.        [F1]  WORDSTAR 5                      ;;TITLE LINE AND SWITCHES     |                                                                     |
  6761.        CDD C:\WS5                            ;;CHANGE DRIVE & DIRS     |                                                                     |
  6762.        WS                                    ;;RUN WORDSTAR     |                                                                     |
  6763.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  6764.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  6765.      `---------------------------------------------------------------------'
  6766.  
  6767.      This example  just runs Wordstar, but it typifies the basic "shell" of
  6768.      how a  macro would  look that  runs programs.   Note  that we took the
  6769.      extra precaution  of changing  drives and  directories with  the "CDD"
  6770.      macro command.   Where  if all  we did  was  a  "CD \WS5",  the  macro
  6771.      wouldn't work  properly if  it  wasn't  executed  from  drive  C:  (or
  6772.      whatever drive Wordstar is located on).
  6773.  
  6774.  
  6775.  
  6776.  
  6777.  
  6778.  
  6779.                                        9999
  6780.  
  6781.                                                       Macro Keys - Examples
  6782.      ----------------------------------------------------------------------
  6783.  
  6784.                        Running a Program That Uses TSR'sRunning a Program That Uses TSR's
  6785.  
  6786.      ,---------------------------------------------------------------------,
  6787.        [F1]  WORDSTAR 5/r                    ;;TITLE LINE AND SWITCHES     |                                                                     |
  6788.        CDD C:\WS5                            ;;CHANGE DRIVE & DIRS     |                                                                     |
  6789.        WF                                    ;;LOAD WORD FINDER (A TSR)     |                                                                     |
  6790.        WS                                    ;;RUN WORDSTAR     |                                                                     |
  6791.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  6792.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  6793.      `---------------------------------------------------------------------'
  6794.  
  6795.      This example  is a  spin-off of the one above that runs Wordstar.  The
  6796.      differences are  that the  macro is configured to remove TSR's when it
  6797.      terminates (set  using the /R switch on the title line) and also loads
  6798.      Word Finder  before running Wordstar.  Word Finder is a Thesaurus type
  6799.      TSR program  which is  useful when  used in conjunction with Wordstar,
  6800.      but is  normally of little use after you are done working in Wordstar.
  6801.      So why tie up your precious conventional memory with it?
  6802.  
  6803.  
  6804.  
  6805.                      Running a Program Using Selected FileRunning a Program Using Selected File
  6806.  
  6807.      ,---------------------------------------------------------------------,
  6808.        [F1]  MS-WORD                         ;;TITLE LINE AND SWITCHES     |                                                                     |
  6809.        CDD C:\MSWORD                         ;;CHANGE DRIVE & DIRS     |                                                                     |
  6810.        WORD %OD%OS%FE                        ;;RUN WORD WITH SEL'D FILE     |                                                                     |
  6811.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  6812.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  6813.      `---------------------------------------------------------------------'
  6814.  
  6815.      This example runs MS-Word, passing to it the full pathspec of what was
  6816.      currently selected  when the  macro key was invoked.  %OD expands into
  6817.      the original  drive that  was active  when the  macro key  was pressed
  6818.      (i.e. "C:").   %OS  expands into  the original  subdirectory that  was
  6819.      active when  the macro  key was  pressed  (i.e. "\DOCS\").    And  %FE
  6820.      expands into  the currently  selected filename with its extension.  An
  6821.      alternate way  to approach  this would  be to  not  change  drives  or
  6822.      directories before  running MS-WORD,  but instead  stay in the current
  6823.      drive and  directory and  have MS-WORD  run having  been found  in the
  6824.      PATH.   In this  event, you  would not  have to  pass  the  full  path
  6825.      (%OD%OS), but  could get  by with  just using  "WORD %FE".    However,
  6826.      running a  program from the PATH may require that the program have the
  6827.      intelligence to  know where  to find  the rest  of its data or overlay
  6828.      files.  In this case, MS-Word is.  But others may not be.
  6829.  
  6830.  
  6831.  
  6832.  
  6833.  
  6834.  
  6835.  
  6836.  
  6837.  
  6838.  
  6839.  
  6840.  
  6841.  
  6842.  
  6843.                                       100100
  6844.  
  6845.                                                       Macro Keys - Examples
  6846.      ----------------------------------------------------------------------
  6847.  
  6848.                    Run a Program, Selecting a File First (I)Run a Program, Selecting a File First (I)
  6849.  
  6850.      ,---------------------------------------------------------------------,
  6851.        [F1]  MS-WORD                         ;;TITLE LINE AND SWITCHES     |                                                                     |
  6852.        SELECT C:\DOCS\*.DOC PICK FILE/n      ;;PROMPT FOR FILE TO USE     |                                                                     |
  6853.        CDD C:\MSWORD                         ;;CHANGE DRIVE & DIRS     |                                                                     |
  6854.        WORD C:\DOCS\%SE                      ;;RUN WORD WITH FILE PICKED     |                                                                     |
  6855.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  6856.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  6857.      `---------------------------------------------------------------------'
  6858.  
  6859.      This example  displays a  window with  a menu  of all files in C:\DOCS
  6860.      that have  a .DOC  extension.   After one is selected, MS-Word is then
  6861.      run and  passed the full pathspec of the filename picked.  %SE expands
  6862.      into the  filename and  extension of the file selected using the macro
  6863.      SELECT command.
  6864.  
  6865.  
  6866.  
  6867.                    Run a Program, Selecting a File First (II)Run a Program, Selecting a File First (II)
  6868.  
  6869.      ,---------------------------------------------------------------------,
  6870.        [F1]  HARVARD                         ;;TITLE LINE AND SWITCHES     |                                                                     |
  6871.        SELECT C:\HARVARD\*.CHT SEL FIL/n     ;;PROMPT FOR FILE TO USE     |                                                                     |
  6872.        CDD C:\HARVARD                        ;;CHANGE DRIVE & DIRS     |                                                                     |
  6873.        HG %SE                                ;;RUN HARVARD W/FILE PICKED     |                                                                     |
  6874.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  6875.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  6876.      `---------------------------------------------------------------------'
  6877.  
  6878.      This example  prompts for  the user to select a Harvard Graphics chart
  6879.      file and  then runs  Harvard passing  it the  filename  of  the  chart
  6880.      picked.   We included this example even though its very similar to the
  6881.      previous example  - because  Harvard is  particularly infamous for its
  6882.      awkward file  retrieval technique.  This example is a little different
  6883.      from the  preceding one  though in that it selects files from the same
  6884.      directory that it will run the program from.  While it is true that we
  6885.      could have changed drives and directories into C:\HARVARD before using
  6886.      the SELECT  commands, spelling  out the  entire path  for  the  SELECT
  6887.      command without  changing directories  first lets you escape the macro
  6888.      key and  not find  yourself sitting in the C:\HARVARD directory.  Also
  6889.      note that  due to  lack of  room (on  paper), the text that the SELECT
  6890.      command displays for the header "SEL FIL" is extremely abbreviated and
  6891.      should probably be expanded to something like "Select a Chart".
  6892.  
  6893.  
  6894.  
  6895.  
  6896.  
  6897.  
  6898.  
  6899.  
  6900.  
  6901.  
  6902.  
  6903.  
  6904.  
  6905.  
  6906.  
  6907.                                       101101
  6908.  
  6909.                                                       Macro Keys - Examples
  6910.      ----------------------------------------------------------------------
  6911.  
  6912.                      Run a Program, Selecting a Dir & FileRun a Program, Selecting a Dir & File
  6913.  
  6914.      ,---------------------------------------------------------------------,
  6915.        [F1]  MS-WORD                         ;;TITLE LINE AND SWITCHES     |                                                                     |
  6916.        SELECT C:\DOC\*.* PICK A DIR/d        ;;PROMPT FOR DIR TO USE     |                                                                     |
  6917.        SET %1=%SE                            ;;%1=SELECTED DIR     |                                                                     |
  6918.        SELECT C:\DOC\%1\*.DOC SEL FILE/n     ;;PROMPT FOR FILE TO USE     |                                                                     |
  6919.        CDD C:\MSWORD                         ;;CHANGE DRIVE & DIRS     |                                                                     |
  6920.        WORD C:\DOC\%1\%SE                    ;;RUN WORD WITH THE FILE     |                                                                     |
  6921.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  6922.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  6923.      `---------------------------------------------------------------------'
  6924.  
  6925.      This example  displays a  menu of  existing directories (that you have
  6926.      categorized your document files by) and prompts for which directory to
  6927.      use.   It then displays a menu of all files in that directory having a
  6928.      .DOC extension and prompts for which one to use.  It then runs MS-Word
  6929.      asking it to edit the selected file.
  6930.  
  6931.  
  6932.  
  6933.                                 Dropping to DosDropping to Dos
  6934.  
  6935.      ,---------------------------------------------------------------------,
  6936.        [F1]  DROP TO DOS                     ;;TITLE LINE AND SWITCHES     |                                                                     |
  6937.        ECHO Type 'EXIT' to Return            ;;ECHO HOW TO GET BACK     |                                                                     |
  6938.        C:\COMMAND                            ;;RUN A COPY OF COMMAND.COM     |                                                                     |
  6939.      `---------------------------------------------------------------------'
  6940.  
  6941.      This example  displays a  message indicating how to return to dCOM and
  6942.      then runs  another copy  of COMMAND.COM.   This would then produce the
  6943.      familiar Dos prompt (i.e. "C>").
  6944.  
  6945.  
  6946.  
  6947.                      Setting an Epson Printer to CompressedSetting an Epson Printer to Compressed
  6948.  
  6949.      ,---------------------------------------------------------------------,
  6950.        [F1]  COMPRESSED PITCH                ;;TITLE LINE AND SWITCHES     |                                                                     |
  6951.        PRINTSTR %(15)                        ;;SEND COMPRESS CODE TO PRN     |                                                                     |
  6952.      `---------------------------------------------------------------------'
  6953.  
  6954.      This example sets an Epson compatible printer into compressed (16 CPI)
  6955.      pitch.
  6956.  
  6957.  
  6958.  
  6959.  
  6960.  
  6961.  
  6962.  
  6963.  
  6964.  
  6965.  
  6966.  
  6967.  
  6968.  
  6969.  
  6970.  
  6971.                                       102102
  6972.  
  6973.                                                       Macro Keys - Examples
  6974.      ----------------------------------------------------------------------
  6975.  
  6976.                      Setting an Epson Printer to Pica PitchSetting an Epson Printer to Pica Pitch
  6977.  
  6978.      ,---------------------------------------------------------------------,
  6979.        [F1]  PICA PITCH                      ;;TITLE LINE AND SWITCHES     |                                                                     |
  6980.        PRINTSTR %(18)                        ;;SEND 10 CPI CODE TO PRN     |                                                                     |
  6981.      `---------------------------------------------------------------------'
  6982.  
  6983.      This example  sets an Epson compatible printer to Pica (10 CPI) pitch.
  6984.      This example,  along with  the one above, suggests how an entire macro
  6985.      file could be used to set various printer pitches or modes.
  6986.  
  6987.  
  6988.  
  6989.                              Submenuing a Macro KeySubmenuing a Macro Key
  6990.  
  6991.      ,---------------------------------------------------------------------,
  6992.        [F1]  WORD PROCESSORS                 ;;TITLE LINE AND SWITCHES     |                                                                     |
  6993.        :L1                                   ;;LABEL FOR JUMP IF BAD CMD     |                                                                     |
  6994.        CLS                                   ;;CLEAR THE SCREEN     |                                                                     |
  6995.        ECHO Word Processing                  ;;ECHO MENU TEXT     |                                                                     |
  6996.        ECHO ---------------                  ;;ECHO MENU TEXT     |                                                                     |
  6997.        ECHO M - MS-Word                      ;;ECHO MENU TEXT     |                                                                     |
  6998.        ECHO W - Wordstar                     ;;ECHO MENU TEXT     |                                                                     |
  6999.        ECHO                                  ;;ECHO BLANK LINE     |                                                                     |
  7000.        GET %1 Selection:                     ;;GET SELECTION IN %1     |                                                                     |
  7001.        IF %1=M THEN                          ;;IF SEL = MS-WORD     |                                                                     |
  7002.         CDD C:\MSWORD                        ;; CHANGE DRIVE & DIRS     |                                                                     |
  7003.         WORD                                 ;; RUN MS-WORD     |                                                                     |
  7004.         GOTO EXIT                            ;; AND EXIT THE MACRO     |                                                                     |
  7005.        ENDIF                                 ;;END OF IF BLOCK     |                                                                     |
  7006.        IF %1=W THEN                          ;;IF SEL = WORDSTAR     |                                                                     |
  7007.         CDD C:\WS5                           ;; CHANGE DRIVE & DIRS     |                                                                     |
  7008.         WS                                   ;; RUN WORDSTAR     |                                                                     |
  7009.         GOTO EXIT                            ;; AND EXIT THE MACRO     |                                                                     |
  7010.        ENDIF                                 ;;END OF IF BLOCK     |                                                                     |
  7011.        BEEP                                  ;;BEEP FOR BAD SELECTION     |                                                                     |
  7012.        GOTO L1                               ;;AND REDISPLAY MENU     |                                                                     |
  7013.        :EXIT                                 ;;LABEL FOR EXIT JUMP     |                                                                     |
  7014.        CD C:\                                ;;CHG C: BACK TO ROOT DIR     |                                                                     |
  7015.        CDDO                                  ;;RETURN TO ORIG DRV & DIR     |                                                                     |
  7016.      `---------------------------------------------------------------------'
  7017.  
  7018.      This example  demonstrates a  rudimentary technique of getting a macro
  7019.      key to  perform the  job of  two macro keys.  It displays a small menu
  7020.      and runs either MS-Word or Wordstar depending on the response entered.
  7021.      In general  though, it  is best  not to  have your  primary macro file
  7022.      loaded with  text because  it could  accumulate into  having  a  minor
  7023.      effect on  free memory (unless you have EMS).  A better solution is to
  7024.      build another  macro file  having these options as separate keys.  You
  7025.      could call the macro file from a macro key using a GOSUBMF command, or
  7026.      the utility mode's "/ - Gosub Macro File" keyboard command.
  7027.  
  7028.  
  7029.  
  7030.  
  7031.  
  7032.  
  7033.  
  7034.  
  7035.                                       103103
  7036.  
  7037.                                                       Macro Keys - Examples
  7038.      ----------------------------------------------------------------------
  7039.  
  7040.                              Archiving Tagged FilesArchiving Tagged Files
  7041.  
  7042.      ,---------------------------------------------------------------------,
  7043.        [F1]  ZIP TAGGED FILES/w              ;;TITLE LINE AND SWITCHES     |                                                                     |
  7044.        IF %TC=0 THEN                         ;;IF NO FILES TAGGED     |                                                                     |
  7045.         ECHO Macro Requires Tagged Files     ;; ECHO FILES MUST BE TAGGED     |                                                                     |
  7046.         BEEP                                 ;; BEEP     |                                                                     |
  7047.         EXIT                                 ;; AND TERMINATE MACRO KEY     |                                                                     |
  7048.        ENDIF                                 ;;END OF IF BLOCK     |                                                                     |
  7049.        GET %1 Enter Destination File:        ;;GET DEST FILE IN %1     |                                                                     |
  7050.        :L1                                   ;;LABEL FOR TAGGED LOOP     |                                                                     |
  7051.         ECHO Adding %TE to %1                ;; DISPLAY CURRENT TAG FILE     |                                                                     |
  7052.         PKZIP -EX %1 %TE >NUL                ;; ADD TAG FILE TO ZIP FILE     |                                                                     |
  7053.        LOOP L1                               ;;LOOP THROUGH TAGGED FILES     |                                                                     |
  7054.      `---------------------------------------------------------------------'
  7055.  
  7056.      This example would add all tagged files to a Zip filename entered.  It
  7057.      first tests  on whether there are currently any files tagged.  If not,
  7058.      it displays a message indicating that the macro needs tagged files and
  7059.      then exits.   If  there are  tagged files, the IF block is skipped and
  7060.      the macro  asks for a destination Zip filename.  After that, it cycles
  7061.      through a  simple loop  that processes  each tagged file, adding it to
  7062.      the Zip filename entered in %1.
  7063.  
  7064.  
  7065.  
  7066.                        Converting All .ARC Files to .ZIPConverting All .ARC Files to .ZIP
  7067.  
  7068.      ,---------------------------------------------------------------------,
  7069.        [F1]  ARC->ZIP (ALL)/w                ;;TITLE LINE AND SWITCHES     |                                                                     |
  7070.        MD C:\Z$                              ;;MAKE A TEMP DIRECTORY     |                                                                     |
  7071.        DO *.ARC                              ;;DO BLOCK FOR .ARC FILES     |                                                                     |
  7072.         ECHO Extracting: %DE;                ;; DISPLAY FILE BEING UNARCD     |                                                                     |
  7073.         PKUNPAK %DE C:\Z$ >NUL               ;; UNARC THE FILE     |                                                                     |
  7074.         DEL %DE                              ;; DELETE THE .ARC FILE     |                                                                     |
  7075.         CPOSN ,27                            ;; POSITION CURSOR TO COL 27     |                                                                     |
  7076.         ECHO Zipping: %DN.ZIP;               ;; DISPLAY FILE BEING ZIPPED     |                                                                     |
  7077.         PKZIP -m %DN.ZIP C:\Z$\*.* >NUL      ;; ZIP UP THE UNARCED FILES     |                                                                     |
  7078.         ECHO                                 ;; DROP A LINE     |                                                                     |
  7079.        ENDDO                                 ;;END OF DO BLOCK     |                                                                     |
  7080.        RD C:\Z$                              ;;REMOVE THE TEMP DIRECTORY     |                                                                     |
  7081.      `---------------------------------------------------------------------'
  7082.  
  7083.      This example  converts all  files in  the current  directory from .ARC
  7084.      format to the more efficient .ZIP format.
  7085.  
  7086.  
  7087.  
  7088.  
  7089.  
  7090.  
  7091.  
  7092.  
  7093.  
  7094.  
  7095.  
  7096.  
  7097.  
  7098.  
  7099.                                       104104
  7100.  
  7101.                                                       Macro Keys - Examples
  7102.      ----------------------------------------------------------------------
  7103.  
  7104.                       Converting Tagged .ARC Files to .ZIPConverting Tagged .ARC Files to .ZIP
  7105.  
  7106.      ,---------------------------------------------------------------------,
  7107.        [F1]  ARC->ZIP (TAGGED)/w             ;;TITLE LINE AND SWITCHES     |                                                                     |
  7108.        IF %TC=0 THEN                         ;;IF NO FILES TAGGED     |                                                                     |
  7109.         ECHO Macro Requires Tagged Files     ;; ECHO FILES MUST BE TAGGED     |                                                                     |
  7110.         BEEP                                 ;; BEEP     |                                                                     |
  7111.         EXIT                                 ;; AND TERMINATE MACRO KEY     |                                                                     |
  7112.        ENDIF                                 ;;END OF IF BLOCK     |                                                                     |
  7113.        MD C:\Z$                              ;;MAKE A TEMP DIRECTORY     |                                                                     |
  7114.        :L1                                   ;;LABEL FOR TAGGED LOOP     |                                                                     |
  7115.         IF NOT EXIST %TN.ARC THEN            ;; IF FILE IS NOT .ARC     |                                                                     |
  7116.          ECHO %TE Not an ARC File            ;;  INDICATE SO     |                                                                     |
  7117.          BEEP                                ;;  BEEP     |                                                                     |
  7118.          GOTO QUIT                           ;;  AND JUMP TO QUIT     |                                                                     |
  7119.         ENDIF                                ;; END OF IF BLOCK     |                                                                     |
  7120.         ECHO Extracting: %TE;                ;; DISPLAY FILE BEING UNARCD     |                                                                     |
  7121.         PKUNPAK %TE C:\Z$ >NUL               ;; UNARC THE FILE     |                                                                     |
  7122.         DEL %TE                              ;; DELETE THE .ARC FILE     |                                                                     |
  7123.         CPOSN ,27                            ;; POSITION CURSOR TO COL 27     |                                                                     |
  7124.         ECHO Zipping: %TN.ZIP;               ;; DISPLAY FILE BEING ZIPPED     |                                                                     |
  7125.         PKZIP -m %TN.ZIP C:\Z$\*.* >NUL      ;; ZIP UP THE UNARCED FILES     |                                                                     |
  7126.         ECHO                                 ;; DROP A LINE     |                                                                     |
  7127.        LOOP L1                               ;;LOOP BACK IF ANOTHER TAG     |                                                                     |
  7128.        :QUIT                                 ;;LABEL FOR EXIT JUMP     |                                                                     |
  7129.        RD C:\Z$                              ;;REMOVE THE TEMP DIR     |                                                                     |
  7130.      `---------------------------------------------------------------------'
  7131.  
  7132.      This example  converts tagged  .ARC files  to the  more efficient .ZIP
  7133.      format.  This is probably as sophisticated a macro as the average user
  7134.      will get  into.  Most of its operation is self-explanatory if you look
  7135.      at it long enough.
  7136.  
  7137.  
  7138.  
  7139.                             Compiling a Source FileCompiling a Source File
  7140.  
  7141.      ,---------------------------------------------------------------------,
  7142.        [F1]  COMPILE SELECTED/w              ;;TITLE LINE AND SWITCHES     |                                                                     |
  7143.        SET %1=%FN                            ;;%1=SEL FILENAME     |                                                                     |
  7144.        :L1                                   ;;LABEL FOR TAGGED LOOP     |                                                                     |
  7145.         IF %TC>0 SET %1=%TN                  ;; IF TAGGED %1=TAG FILENAME     |                                                                     |
  7146.         CLS                                  ;; CLEAR THE SCREEN     |                                                                     |
  7147.         ECHO Compiling: %1                   ;; DISPLAY FILE COMPILING     |                                                                     |
  7148.         MASM %1;                             ;; COMPILE THE FILE     |                                                                     |
  7149.         IF %EL=>1 GOTO ERROR                 ;; IF AN ERROR GOTO ERROR     |                                                                     |
  7150.         LINK %1;                             ;; LINK THE FILE     |                                                                     |
  7151.         IF %EL=>1 GOTO ERROR                 ;; IF AN ERROR GOTO ERROR     |                                                                     |
  7152.         DEL %1.OBJ                           ;; DELETE THE .OBJ FILE     |                                                                     |
  7153.        IF %TC>0 LOOP L1                      ;;IF TAGGED FILES LOOP BACK     |                                                                     |
  7154.        EXIT                                  ;;TERMINATE THE MACRO KEY     |                                                                     |
  7155.        :ERROR                                ;;LABEL FOR ERROR HANDLING     |                                                                     |
  7156.        BEEP                                  ;;BEEP FOR ERRORS     |                                                                     |
  7157.      `---------------------------------------------------------------------'
  7158.  
  7159.      This example  compiles and  links either  tagged files or the selected
  7160.      file.   Logic would  dictate though  that if  one was going to compile
  7161.  
  7162.  
  7163.                                       105105
  7164.  
  7165.                                                       Macro Keys - Examples
  7166.      ----------------------------------------------------------------------
  7167.  
  7168.      more than  one file,  he would  probably not  want to be linking every
  7169.      source file  compiled but  more likely just compiling the tagged files
  7170.      to object  modules and then link them as another step following, or in
  7171.      another macro key.
  7172.  
  7173.  
  7174.  
  7175.  
  7176.  
  7177.  
  7178.  
  7179.  
  7180.  
  7181.  
  7182.  
  7183.  
  7184.  
  7185.  
  7186.  
  7187.  
  7188.  
  7189.  
  7190.  
  7191.  
  7192.  
  7193.  
  7194.  
  7195.  
  7196.  
  7197.  
  7198.  
  7199.  
  7200.  
  7201.  
  7202.  
  7203.  
  7204.  
  7205.  
  7206.  
  7207.  
  7208.  
  7209.  
  7210.  
  7211.  
  7212.  
  7213.  
  7214.  
  7215.  
  7216.  
  7217.  
  7218.  
  7219.  
  7220.  
  7221.  
  7222.  
  7223.  
  7224.  
  7225.  
  7226.  
  7227.                                       106106
  7228.  
  7229.                                        dCOM - Macro Keys - Technical Tricks
  7230.      ----------------------------------------------------------------------
  7231.  
  7232.  
  7233.  
  7234.  
  7235.                            Macro Key Technical TricksMacro Key Technical Tricks
  7236.  
  7237.      This section  is provided to further augment the technically inclined.
  7238.      It discusses  some tricks  that may  be well  beyond average  use.  If
  7239.      while browsing  through this  section some  of the material leaves you
  7240.      somewhat stymied, don't lose any sleep over it.
  7241.  
  7242.  
  7243.                       Collect Tagged Filenames into a TvarCollect Tagged Filenames into a Tvar
  7244.  
  7245.      ,---------------------------------------------------------------------,
  7246.        [F1]  ZIP TAGGED FILES/w              ;;TITLE LINE AND SWITCHES     |                                                                     |
  7247.        IF %TC=0 THEN                         ;;IF NO FILES ARE TAGGED     |                                                                     |
  7248.         ECHO Tag Files Desired First         ;; INDICATE SO     |                                                                     |
  7249.         BEEP                                 ;; BEEP     |                                                                     |
  7250.         EXIT                                 ;; AND EXIT THE MACRO KEY     |                                                                     |
  7251.        ENDIF                                 ;;END OF IF BLOCK     |                                                                     |
  7252.        GET %1 Enter Zip Filename:            ;;GET DEST FILENAME IN %1     |                                                                     |
  7253.        :L1 :L1                                   ;;LABEL FOR LOOP     |                                                                     |
  7254.         SET %2=%2 %TESET %2=%2 %TE                        ;; %2=ITSELF + NEXT TAG FILE     |                                                                     |
  7255.        LOOP L1 LOOP L1                               ;;LOOP THROUGH TAGGED FILES     |                                                                     |
  7256.        ECHO Zipping %2 to %1                 ;;RUN WORD WITH THE FILE     |                                                                     |
  7257.        PKZIP -EX %1%2 >NUL                   ;;ARCHIVE FILES TO %1     |                                                                     |
  7258.      `---------------------------------------------------------------------'
  7259.  
  7260.      Occasionally, it  is useful  to collect  the tagged filenames into one
  7261.      temporary variable  (i.e. %0  - %9)  so that  they  can  be  processed
  7262.      simultaneously rather than re-executing a command several times with a
  7263.      different filename  in a loop.  In the example above, %2 is added with
  7264.      itself plus  the next tagged filename (%TE) until all tagged filenames
  7265.      have been added to %2 by the loop.  There is a limitation though.  MS-
  7266.      DOS only  provides for  a maximum command line length of 128 bytes (in
  7267.      the PSP).   While  the %2 variable can grow as big as your environment
  7268.      space allows,  if the  length of  the command  line  produced  by  the
  7269.      combination of  " -EX  %1%2"  (the  ">  nul"  is  redirection  and  is
  7270.      transparent to  the command line) when attempting to run PKZIP exceeds
  7271.      128 characters,  the macro will produce a command line overflow error.
  7272.      Also, in  the example  above, a space is used as the delimiter between
  7273.      %2 and  %TE, which  would mean  the resulting  text for %2 would begin
  7274.      with a  leading space;  hence, no  space is  needed in  the PKZIP line
  7275.      between %1 and %2.
  7276.  
  7277.  
  7278.                     Executing Other than .EXE, .COM or .BATExecuting Other than .EXE, .COM or .BAT
  7279.  
  7280.      While it  is not  very frequent, it is possible to rename a program so
  7281.      that it  can only  be executed  by a macro key.  This is because macro
  7282.      lines containing  commands not  recognized as either macro commands or
  7283.      MS-DOS internal commands, are considered programs and are run directly
  7284.      by dCOM.  An alternative extension from the normal .BAT, .COM, or .EXE
  7285.      may be  specified and  if a  file of  that extension  is found (in the
  7286.      current directory  or in  the PATH), it will be run.  For instance, if
  7287.      you wanted to restrict people from using the DOS format command unless
  7288.      they  run  it  through  a  particular  macro  key,  you  could  rename
  7289.  
  7290.  
  7291.                                       107107
  7292.  
  7293.                                        dCOM - Macro Keys - Technical Tricks
  7294.      ----------------------------------------------------------------------
  7295.  
  7296.      FORMAT.EXE to something like FORMAT.PRG (which would not be considered
  7297.      executable by  any other  shell since it now does not end with a .COM,
  7298.      .EXE, or  .BAT extension) and then run it from a macro key by spelling
  7299.      out its full name (e.g. FORMAT.PRG A:/4).
  7300.  
  7301.  
  7302.                           Temporarily Changing COMSPECTemporarily Changing COMSPEC
  7303.  
  7304.      ,---------------------------------------------------------------------,
  7305.        [F1]  TELIX                           ;;TITLE LINE AND SWITCHES     |                                                                     |
  7306.        CDD C:\TELIX                          ;;CHANGE DRIVE & DIRS     |                                                                     |
  7307.        SET %9=%COMSPEC% SET %9=%COMSPEC%                      ;;%9=ORIGINAL COMSPEC     |                                                                     |
  7308.        SET COMSPEC=C:\DCOM\DCOM.COM SET COMSPEC=C:\DCOM\DCOM.COM          ;;COMSPEC=DCOM     |                                                                     |
  7309.        TELIX                                 ;;RUN TELIX     |                                                                     |
  7310.        SET COMSPEC=%9 SET COMSPEC=%9                        ;;COMSPEC=ORIGINAL VALUE     |                                                                     |
  7311.        CD C:\                                ;;CHANGE C: BACK TO ROOT DIR     |                                                                     |
  7312.        CDDO                                  ;;RETURN TO ORIG DRIVE & DIR     |                                                                     |
  7313.      `---------------------------------------------------------------------'
  7314.  
  7315.      Occasionally, it  may be  desirable to temporarily change the contents
  7316.      of an  environment variable such as COMSPEC or PATH.  This can be done
  7317.      by using  one of  the percent  variables to hold the original contents
  7318.      before modifying  the particular environment variable.  A little known
  7319.      fact concerning  the COMSPEC  variable  is  that  a  lot  of  programs
  7320.      (besides MS-DOS)  use it to load a second copy of COMMAND.COM to shell
  7321.      out and  run another  program.   Sometimes you  can temporarily change
  7322.      COMSPEC to  point to  your favorite  shell rather  than COMMAND.COM so
  7323.      that when  the program  thinks its  shelling out  to DOS, its actually
  7324.      running another copy of your favorite shell.  In this example, we used
  7325.      %9 to temporarily hold the contents of the COMSPEC variable.  Then, we
  7326.      changed COMSPEC  to point to dCOM so that when the Alt-J (Jump to DOS)
  7327.      command of Telix is invoked, instead of running COMMAND.COM and giving
  7328.      you the  DOS prompt,  it runs  a second  copy of dCOM.  After Telix is
  7329.      exited, the COMSPEC variable is restored to its original contents held
  7330.      in %9.
  7331.  
  7332.  
  7333.                        Append to an Environment VariableAppend to an Environment Variable
  7334.  
  7335.      You can  easily append  to the  current  contents  of  an  environment
  7336.      variable using the following technique:
  7337.  
  7338.           SET  PATH=%PATH%;C:\UTILITYS
  7339.  
  7340.      In this  example the PATH environment variable is set by accessing its
  7341.      existing contents (%PATH%) and adding it with ";C:\UTILITYS".
  7342.  
  7343.  
  7344.  
  7345.  
  7346.  
  7347.  
  7348.  
  7349.  
  7350.  
  7351.  
  7352.  
  7353.  
  7354.  
  7355.                                       108108
  7356.  
  7357.                                                                     Menuing
  7358.      ----------------------------------------------------------------------
  7359.  
  7360.  
  7361.  
  7362.  
  7363.                                     MENUINGMENUING
  7364.  
  7365.      ======================================================================
  7366.      dCOM can  be configured  to initially  run in  the macro key menu mode
  7367.      instead of  the utility  mode by  giving it  a /M  or /MP command line
  7368.      switch when  it is  run (refer  to  Command  Line  Switches  for  more
  7369.      information).
  7370.  
  7371.      This menu  mode takes  a "straight-arrow" approach to menuing and just
  7372.      simply comprises  of displaying a menu of the macro key titles and the
  7373.      title of the active macro file.
  7374.  
  7375.      While it is true that the presentation method used by the menu mode is
  7376.      as we  said above "straight-arrow", and could be considered lacking if
  7377.      you like  "bells and  whistles" and  flashing lights, you will find no
  7378.      other  menuing  program  with  the  same  degree  of  flexibility  and
  7379.      sophistication when it actually comes time to cut the talk and get the
  7380.      job done.   For  instance, how  many other menuers can, after the user
  7381.      selects a  program to  run, display a menu of files to select from and
  7382.      pass the selected file's name to the program being run?
  7383.  
  7384.      When the  menu mode  is displayed,  selecting one of the macro keys to
  7385.      execute can  be performed by pressing its appropriate function key, by
  7386.      selecting the  macro key  title desired  and pressing  Return,  or  by
  7387.      clicking the  mouse left button on the title of the key desired.  When
  7388.      using the  cursor keys to select a macro key title, there initially is
  7389.      no clue  that this  capability exists so as to not clutter the screen.
  7390.      But as  soon as  a cursor  key is pressed, a highlight bar will appear
  7391.      and can  then be  navigated to  the appropriate macro title using more
  7392.      cursor keys.
  7393.  
  7394.      The beauty  of using  dCOM to do your menuing is that a system manager
  7395.      can install dCOM and set it up to do the menuing for a user, then when
  7396.      needed, the  system manager  can readily  drop out of the menu mode to
  7397.      the utility  mode (using  the Esc key), perform necessary housekeeping
  7398.      or troubleshooting,  and return  to the  menu mode (also using the Esc
  7399.      key).  The user need not have to know anything about the utility mode.
  7400.  
  7401.      Basically, all  there is  to the menu mode is that you're telling dCOM
  7402.      to start  up with  just a  menu of the macro key titles on the screen.
  7403.      When you  select an  option -  you're running a macro key.  Typically,
  7404.      these would  be simple  macro keys  that primarily  just run programs.
  7405.      But that doesn't have to stop you....
  7406.  
  7407.      Building layered (multiple) menu's is performed by using the GOTOMF or
  7408.      GOSUBMF macro  commands which  force another  macro file  to load  and
  7409.      become the  active macro  file (and  its titles  then displayed).  The
  7410.      difference between  GOTOMF and  GOSUBMF  is  that  GOSUBMF  saves  the
  7411.      current macro  filename on  a gosub  stack, which  can be  returned to
  7412.      using the RETURN macro command, whereas GOTOMF simply designates a new
  7413.      active macro file.  The gosub stack can hold approx. 9+ levels deep of
  7414.      gosub'd menus.
  7415.  
  7416.  
  7417.  
  7418.  
  7419.                                       109109
  7420.  
  7421.                                                                     Menuing
  7422.      ----------------------------------------------------------------------
  7423.  
  7424.      Generally speaking,  GOSUBMF  would  be  the  method  of  choice  when
  7425.      building layered  menu's.  When GOSUBMF is used to call up a new macro
  7426.      file, you  can either set up each macro key to automatically return to
  7427.      the previous  menu by  using a RETURN command on the end of each macro
  7428.      key, or  build a  separate macro  key as  the option  to return to the
  7429.      previous menu (macro file).  When a gosub'd menu is active and the Esc
  7430.      key is  pressed, it  serves to  act as  a RETURN command.  If the root
  7431.      menu is  active and  the Esc  key is pressed, the menu mode aborts and
  7432.      control drops  to the  utility mode  (if /MP was specified, the access
  7433.      password must be entered first).
  7434.  
  7435.      When the  menu mode  is active,  you cannot  use macro  keys that were
  7436.      written to use the %FN, %FE, %TN, %TE, and %TC macro variables.  These
  7437.      variables expand  into the currently selected file or tagged files and
  7438.      are only valid when the utility mode is active.
  7439.  
  7440.  
  7441.  
  7442.  
  7443.  
  7444.  
  7445.  
  7446.  
  7447.  
  7448.  
  7449.  
  7450.  
  7451.  
  7452.  
  7453.  
  7454.  
  7455.  
  7456.  
  7457.  
  7458.  
  7459.  
  7460.  
  7461.  
  7462.  
  7463.  
  7464.  
  7465.  
  7466.  
  7467.  
  7468.  
  7469.  
  7470.  
  7471.  
  7472.  
  7473.  
  7474.  
  7475.  
  7476.  
  7477.  
  7478.  
  7479.  
  7480.  
  7481.  
  7482.  
  7483.                                       110110
  7484.  
  7485.                                                          Menuing - Security
  7486.      ----------------------------------------------------------------------
  7487.  
  7488.  
  7489.  
  7490.  
  7491.                                 Menuing SecurityMenuing Security
  7492.  
  7493.      Full password  protection can  be implemented  uniquely for each macro
  7494.      key by  using the  /P:password title line switch.  Preventing the user
  7495.      from escaping  the menu  mode back  to the  utility mode  can also  be
  7496.      password protected  by running  dCOM with  the /MP command line switch
  7497.      instead of  /M.  If you run dCOM with the /MP command line switch, the
  7498.      password required  when the Esc key is pressed at the root menu is the
  7499.      one entered using dCOM's Alt-A - Access Password utility mode command.
  7500.      If no  password has  been  entered  using  the  utility  mode's  Alt-A
  7501.      command, the  /MP command  line switch can't prompt for a password and
  7502.      would act the same as just using /M.
  7503.  
  7504.      Complete security  is achieved  by a  situation where  only a very few
  7505.      select individuals  know the  password entered  to the  utility mode's
  7506.      Alt-A - Access Password, since knowing this system password allows you
  7507.      full access in and out of the menu mode and to any command or function
  7508.      in the  utility mode.  Divulging the passwords used on each particular
  7509.      macro key  is of less significance and can issued to users on a "need-
  7510.      to-know" basis.
  7511.  
  7512.      Optimal security  is provided by setting the hidden flags (the utility
  7513.      mode's Alt-H  command) on  the  subdirectory  holding  dCOM  and  also
  7514.      setting the hidden flags on all macro files.  And, by starting dCOM as
  7515.      the primary  shell in  CONFIG.SYS using  its SHELL  command (refer  to
  7516.      Running dCOM  as the  Primary Shell  for more information).  Using the
  7517.      SHELL command in CONFIG.SYS eliminates any opportunity for the user to
  7518.      Ctrl-C abort  the boot sequence (leaving the only way to get around it
  7519.      as booting  off floppy  disk).   Setting the  hidden flags  on  dCOM's
  7520.      subdirectory and  the macro files in it makes it very hard for a user,
  7521.      should they  manage to  get out  of the  menu mode,  to view the macro
  7522.      files and determine what passwords are being used.
  7523.  
  7524.  
  7525.  
  7526.  
  7527.  
  7528.  
  7529.  
  7530.  
  7531.  
  7532.  
  7533.  
  7534.  
  7535.  
  7536.  
  7537.  
  7538.  
  7539.  
  7540.  
  7541.  
  7542.  
  7543.  
  7544.  
  7545.  
  7546.  
  7547.                                       111111
  7548.  
  7549.                                                             The Text Editor
  7550.      ----------------------------------------------------------------------
  7551.  
  7552.  
  7553.  
  7554.  
  7555.                                 THE TEXT EDITORTHE TEXT EDITOR
  7556.  
  7557.      ======================================================================
  7558.      Supplied with  dCOM as  an integral  working part  is a  multi-window,
  7559.      multi-buffer, full-featured, high performance text editor.
  7560.  
  7561.      With the  editor, you  can have  as many  as four  files,  using  four
  7562.      configurable windows,  on the  screen at  the same time.  You can keep
  7563.      files resident  in a buffer, exit the editor, go to another directory,
  7564.      and load  another file  (you can load directly from within the editor,
  7565.      too, if  you know  the path of the file).  You can easily copy or move
  7566.      text  blocks   between  windows,   and  you  can  search  and  replace
  7567.      interactively.   The editor  can be  configured to  save files with or
  7568.      without a  Ctrl-Z as  the end-of-file  (EOF).  Also, the editor has an
  7569.      enhanced video  mode which displays where your tabs, carriage returns,
  7570.      and EOF are without being obtrusive.
  7571.  
  7572.      Do not  confuse a  text editor  with a  word processor.   They are two
  7573.      different beasties.   A  text editor  is good for editing batch files,
  7574.      ASCII data  files, and  source files.   It  can  also  function  in  a
  7575.      simplistic form  as a  down-n-dirty word  processor.  A word processor
  7576.      does such  neat things  as underlining,  italics, margins,  word-wrap,
  7577.      etc....   Nothing is  closer to a programmer's heart than his/her text
  7578.      editor.
  7579.  
  7580.      Additionally, in  the author's  opinion, no other category of software
  7581.      is more  personally subjective  than that  of word  processors or text
  7582.      editors.  However, the one cliche this author doesn't buy is "the best
  7583.      one is  the one  you know".   This attitude is closed-minded, inhibits
  7584.      advancement, propagates stagnation, naivete, and ignorant bliss.
  7585.  
  7586.  
  7587.  
  7588.  
  7589.  
  7590.  
  7591.  
  7592.  
  7593.  
  7594.  
  7595.  
  7596.  
  7597.  
  7598.  
  7599.  
  7600.  
  7601.  
  7602.  
  7603.  
  7604.  
  7605.  
  7606.  
  7607.  
  7608.  
  7609.  
  7610.  
  7611.                                       112112
  7612.  
  7613.                                                        Editor - General Use
  7614.      ----------------------------------------------------------------------
  7615.  
  7616.  
  7617.  
  7618.  
  7619.                                   General UseGeneral Use
  7620.  
  7621.      There are two ways to invoke the editor:
  7622.  
  7623.      LOADLOAD         dCOM's "E"  command.   Forces  the  editor  to  load  the
  7624.                   currently selected  file in the next available buffer and
  7625.                   assign that buffer to window 1.
  7626.  
  7627.      NO LOADNO LOAD      dCOM's Alt-E command.  Invokes the editor without loading
  7628.                   a file.   Editing  resumes as  it was  last used. This is
  7629.                   useful if  you want  to edit a new file or if you want to
  7630.                   return  to  the  editor  after  exiting  with  the  Alt-Q
  7631.                   command.
  7632.  
  7633.  
  7634.      There are also two ways to exit the editor:
  7635.  
  7636.      Alt-QAlt-Q        Quits, leaving  the  editor  resident  and  its  contents
  7637.                   intact.    Normally  this  is  done  with  intentions  of
  7638.                   returning to  the editor  relatively soon,  possibly with
  7639.                   dCOM's Alt-E  command.   Since the  file buffers  are not
  7640.                   closed and  the editor  is resident,  dCOM's free  memory
  7641.                   will be  impacted accordingly  (unless you  are using LIM
  7642.                   EMS).
  7643.  
  7644.      Alt-XAlt-X        Exits, closing  all file  buffers and  releases the space
  7645.                   used by the editor (frees all memory used by the editor).
  7646.  
  7647.      NOTE:   When used  on floppy  disk based  computers, using  the  Alt-Q
  7648.              command to  exit,  keeping  buffers  intact,  and  the  editor
  7649.              overlay resident  can save time if you know you will be coming
  7650.              back to  continue editing.   If this technique is adopted, you
  7651.              should become  familiar with using the F5 key to close buffers
  7652.              selectively in  the event  that you  have several buffers open
  7653.              but only wish to keep one or two, etc....  On a hard disk, the
  7654.              editor loads  files so  fast (a  250,000 byte  file  loads  in
  7655.              approx. 3.5  seconds on  slow computers)  that the  additional
  7656.              memory required to keep a file resident probably will outweigh
  7657.              any advantage  of not having to reload the file upon return to
  7658.              the editor.
  7659.  
  7660.  
  7661.  
  7662.  
  7663.  
  7664.  
  7665.  
  7666.  
  7667.  
  7668.  
  7669.  
  7670.  
  7671.  
  7672.  
  7673.  
  7674.  
  7675.                                       113113
  7676.  
  7677.                                                        Editor - General Use
  7678.      ----------------------------------------------------------------------
  7679.  
  7680.  
  7681.  
  7682.  
  7683.                                   Read ErrorsRead Errors
  7684.  
  7685.      When reading  a file,  the editor may produce two messages (other than
  7686.      "Read OK" and  file access  errors) concerning  the format of the file
  7687.      read:
  7688.  
  7689.      "Ctrl-Z found  before EOF""Ctrl-Z found  before EOF"   -   Indicates  that an ASCII 26 was found
  7690.      before the  end-of-file indicated  in the  directory.   As long as the
  7691.      file edited  is a  text file,  this is  ok and  is merely  an advisory
  7692.      message which  will be  corrected when  you have  the editor write the
  7693.      file back out.  A common cause is with files transmitted over a modem.
  7694.      If you accidentally edited the wrong file, use Alt-X to exit.
  7695.  
  7696.      "Invalid CR-LF  Sequences""Invalid CR-LF  Sequences"   -   Indicates that  the file  has sole or
  7697.      reversed carriage-return/line-feed  sequences.  Every line of an ASCII
  7698.      text file  should terminate with a CR-LF.  After dCOM reads a file, it
  7699.      performs an exhaustive check to ensure they do.  If there is an error,
  7700.      you will  be given this message and prompted if you want the editor to
  7701.      fixup the  buffer.   If you press Esc, the editor will be aborted.  If
  7702.      this condition is not fixed, the editor will probably crash if editing
  7703.      continues.   Note:   files produced  by some  word processors may also
  7704.      produce this  error if  they set the 8th bit to indicate soft carriage
  7705.      returns (e.g.  WS files).   In  this case,  do not  tell the editor to
  7706.      fixup but immediately perform an Alt-A.
  7707.  
  7708.      Other causes  of this  error are  if the file is not a text file (exit
  7709.      immediately) or  if the  file is  a "record"  of keystrokes  -  it may
  7710.      just contain carriage returns and no line-feeds which, is fixable.  It
  7711.      might be  noted that most other editors don't even bother checking for
  7712.      this possibility and will usually foul-up if editing continues.
  7713.  
  7714.  
  7715.  
  7716.  
  7717.  
  7718.  
  7719.  
  7720.  
  7721.  
  7722.  
  7723.  
  7724.  
  7725.  
  7726.  
  7727.  
  7728.  
  7729.  
  7730.  
  7731.  
  7732.  
  7733.  
  7734.  
  7735.  
  7736.  
  7737.  
  7738.  
  7739.                                       114114
  7740.  
  7741.                                                        Editor - General Use
  7742.      ----------------------------------------------------------------------
  7743.  
  7744.  
  7745.  
  7746.  
  7747.                               Windows and BuffersWindows and Buffers
  7748.  
  7749.      One of  the first  things to understand about the editor is its use of
  7750.      windows and  buffers.  A window refers to a portion of the screen used
  7751.      to display  and edit  a buffer.    The  editor  supports  up  to  four
  7752.      different windows  (which are controlled with function keys F1 through
  7753.      F4 respectively)  and four  different buffers.   Generally,  when  you
  7754.      first invoke  the editor,  window 1  occupies  the  whole  screen  and
  7755.      windows 2,  3, and  4 are  disabled.   When a need exists to edit more
  7756.      than one  buffer on the screen simultaneously, windows 2, 3, and 4 can
  7757.      then be activated.
  7758.  
  7759.      It is  important to  understand that  buffers are assigned to windows,
  7760.      notnot windows to buffers.  This means that the windows are always fixed,
  7761.      their physical  locations never  change on  the screen  (though  their
  7762.      sizes can  be changed to different proportions using the configuration
  7763.      menu).   But the  buffer that  a particular  window is  using  can  be
  7764.      switched with  another  buffer  rather  quickly.    Buffers  are  what
  7765.      actually hold the contents of a file which you edit through a window.
  7766.  
  7767.      The following shows the six different window options possible:
  7768.  
  7769.        ,-----------------,   ,-----------------,   ,-----------------,
  7770.        |                 |   |        |        |   |                 |
  7771.        |   1             |   |   1    |   2    |   |   1             |
  7772.        |                 |   |        |        |   |                 |
  7773.        |                 |   |        |        |   |-----------------|
  7774.        |                 |   |        |        |   |                 |
  7775.        |                 |   |        |        |   |   3             |
  7776.        |                 |   |        |        |   |                 |
  7777.        `-----------------'   `-----------------'   `-----------------'
  7778.  
  7779.        ,-----------------,   ,-----------------,   ,-----------------,
  7780.        |        |        |   |                 |   |        |        |
  7781.        |   1    |   2    |   |   1             |   |   1    |   2    |
  7782.        |        |        |   |                 |   |        |        |
  7783.        |-----------------|   |-----------------|   |--------+--------|
  7784.        |                 |   |        |        |   |        |        |
  7785.        |   3             |   |   3    |   4    |   |   3    |   4    |
  7786.        |                 |   |        |        |   |        |        |
  7787.        `-----------------'   `-----------------'   `-----------------'
  7788.  
  7789.  
  7790.      When you  invoke the  editor asking it to load a file, it first checks
  7791.      to see  if the  file is  already loaded in an open buffer.  If not, it
  7792.      finds the next available buffer and loads it with that file.  Next, it
  7793.      assigns the  buffer holding  that file  to window 1 and gives window 1
  7794.      the entire screen (the buffer number assigned to a window is displayed
  7795.      at the bottom of the screen in the status line).
  7796.  
  7797.      Since it  is possible  to have several windows displayed on the screen
  7798.      at the  same time,  we will  frequently make a reference to the active
  7799.      window.   The active  window is  the window  currently  being  edited.
  7800.  
  7801.  
  7802.  
  7803.                                       115115
  7804.  
  7805.                                                        Editor - General Use
  7806.      ----------------------------------------------------------------------
  7807.  
  7808.      Almost all  of the  editor's commands  only affect  the active  window
  7809.      (actually they impact the buffer assigned to the active window).
  7810.  
  7811.      If you  lose track  of which  buffer is  assigned to which window, the
  7812.      configuration menu displays the current assignments.
  7813.  
  7814.  
  7815.                                  Marked BlocksMarked Blocks
  7816.  
  7817.      A lot  of the  editor's commands  are oriented  around a marked block.
  7818.      Marking a  block is  similar to  tagging files in dCOM.  It is a means
  7819.      with which  to set  off certain lines of text for a subsequent command
  7820.      to use as its source.
  7821.  
  7822.      Marking a  block of  lines is  done by placing the cursor on the first
  7823.      line of  text, press  the F8  key, move the cursor to the last line of
  7824.      text, press the F8 key again.  When marking lines, the first line need
  7825.      not be  before the  last line.   You can mark blocks by first pressing
  7826.      the F8 key on the last line and then move up to the first line.
  7827.  
  7828.      Some commands  recognize a  marked  block  as  an  alternative.    For
  7829.      instance, the Alt-P command, which normally prints the contents of the
  7830.      active window, prints the marked block instead if one exists.
  7831.  
  7832.      Learning how to use marked blocks can be very instrumental in your use
  7833.      of the  editor.   Commands associated with marked blocks are:  F8, F6,
  7834.      F9, Alt-C, Alt-M, and Alt-P.
  7835.  
  7836.  
  7837.  
  7838.  
  7839.  
  7840.  
  7841.  
  7842.  
  7843.  
  7844.  
  7845.  
  7846.  
  7847.  
  7848.  
  7849.  
  7850.  
  7851.  
  7852.  
  7853.  
  7854.  
  7855.  
  7856.  
  7857.  
  7858.  
  7859.  
  7860.  
  7861.  
  7862.  
  7863.  
  7864.  
  7865.  
  7866.  
  7867.                                       116116
  7868.  
  7869.                                                        Editor - General Use
  7870.      ----------------------------------------------------------------------
  7871.  
  7872.  
  7873.  
  7874.  
  7875.                                  Copying/MovingCopying/Moving
  7876.  
  7877.      Copying or  moving marked lines of text can be done in the same window
  7878.      or between  different windows.  The buffer containing the marked lines
  7879.      need not  be showing  in one  of the  windows currently  open  on  the
  7880.      screen.
  7881.  
  7882.      Sometimes, especially  when  working  with  source  code,  it  may  be
  7883.      desirable to  copy sections  of code  from one  file to  another file.
  7884.      This can  be done rather easily in several different ways.  First, you
  7885.      can have the editor load the 1st file, exit the editor using the Alt-Q
  7886.      command (to keep the file resident in buffer 1), and ask the editor to
  7887.      load the 2nd file (it will be loaded in buffer 2).  At this point, the
  7888.      2nd file  is loaded  in buffer 2 and showing in window 1, the 1st file
  7889.      is loaded  in buffer 1 but not showing.  Pressing the F2 key will open
  7890.      window 2  with the destination file showing in buffer 1.  You can then
  7891.      switch between  the opened  windows using the F1 and F2 keys, mark the
  7892.      lines you're  after with  the F8  key, switch to the other window, and
  7893.      copy them using Alt-C.
  7894.  
  7895.      Another method  would be to have the editor load the 1st file involved
  7896.      (in window 1), use the F2 key to open and switch to window 2, and then
  7897.      use Alt-E  to manually load window 2 (and buffer 2) by typing the name
  7898.      of the  2nd file.   You can then switch between the two opened windows
  7899.      using the F1 and F2 keys, etc....
  7900.  
  7901.      NOTE:   Opening window  2 facilitates  working with  files vertically.
  7902.              If working  with files  horizontally is  more  desirable,  use
  7903.              window 3  (the F3  key) instead.   If you use window 3 and the
  7904.              first method above, you will have to assign buffer 1 to window
  7905.              3 (because  it will be automatically assigned to window 2 when
  7906.              the second file is loaded).  This would be done using the Alt-
  7907.              B command  after opening  window 3  (it  will  be  blank)  and
  7908.              specifying buffer 1 (which will then show).
  7909.  
  7910.  
  7911.  
  7912.  
  7913.  
  7914.  
  7915.  
  7916.  
  7917.  
  7918.  
  7919.  
  7920.  
  7921.  
  7922.  
  7923.  
  7924.  
  7925.  
  7926.  
  7927.  
  7928.  
  7929.  
  7930.  
  7931.                                       117117
  7932.  
  7933.                                                      Editor - Screen Layout
  7934.      ----------------------------------------------------------------------
  7935.  
  7936.  
  7937.  
  7938.  
  7939.                                  Screen LayoutScreen Layout
  7940.  
  7941.      ,---------------------------------------------------------------,
  7942.      |                                                               |
  7943.      |   *1                                                          |
  7944.      |                                                               |
  7945.      |                                                               |
  7946.      |                                                               |
  7947.      |                                                               |
  7948.      |                                                               |
  7949.      |                                                               |
  7950.      |                                                               |
  7951.      |                                                               |
  7952.      |                                                               |
  7953.      |                                                               |
  7954.      |                                                               |
  7955.      |                                                               |
  7956.      |                                                               |
  7957.      |                                                               |
  7958.      `---------------------------------------------------------------'
  7959.        *2                      *3    *4    *5       *6    *7    *8/*9
  7960.  
  7961.  
  7962.      *1*1   Is the window editing area.
  7963.  
  7964.      *2*2   Displays the last warning or advisory message.
  7965.  
  7966.      *3*3   Shows the current time held by your computer.
  7967.  
  7968.      *4*4   Shows the current state of Caps Lock and Num Lock.
  7969.  
  7970.      *5*5   Shows the  filename loaded  in the  buffer assigned to the active
  7971.           window (the window currently being edited).  Even though just the
  7972.           filename is  shown, the editor does keep the full path (which can
  7973.           be viewed using Alt-E or Alt-F).
  7974.  
  7975.      *6*6   Shows the buffer number assigned to the active window.
  7976.  
  7977.      *7*7   Shows the current column position of the active window.
  7978.  
  7979.      *8*8   Shows the current line being edited in the active window.
  7980.  
  7981.      *9*9   Shows the  total number of lines currently in the active window's
  7982.           buffer.
  7983.  
  7984.  
  7985.  
  7986.  
  7987.  
  7988.  
  7989.  
  7990.  
  7991.  
  7992.  
  7993.  
  7994.  
  7995.                                       118118
  7996.  
  7997.                                                    Editor - Quick Reference
  7998.      ----------------------------------------------------------------------
  7999.  
  8000.  
  8001.  
  8002.  
  8003.                           Text Editor Quick ReferenceText Editor Quick Reference
  8004.  
  8005.      Alt-AAlt-A  -  ASCII Convert            Alt-OAlt-O  -  One Window
  8006.      Alt-BAlt-B  -  Buffer Change            Alt-PAlt-P  -  Print Window or Block
  8007.      Alt-CAlt-C  -  Copy Marked Block        Alt-QAlt-Q  -  Quit and Keep Buffers
  8008.      Alt-DAlt-D  -  Delete Line              Alt-R          Alt-R  -  Replace, Search and
  8009.      Alt-EAlt-E  -  Edit New File            Alt-S          Alt-S  -  Search
  8010.      Alt-FAlt-F  -  Filename Change          Alt-TAlt-T  -  ASCII Character Table
  8011.      Alt-GAlt-G  -  Goto Line or Mark        Alt-U     Alt-U  -  Undo Deleted Line
  8012.      Alt-HAlt-H  -  Help Menu                Alt-V               Alt-V  -  Global Rplc View Mode
  8013.      Alt-IAlt-I  -  Insert Line              Alt-W          Alt-W  -  Write (Save) File
  8014.      Alt-KAlt-K  -  Config/Status Menu       Alt-X     Alt-X  -  Exit and Close
  8015.      Alt-LAlt-L  -  PC Line Draw Mode        Alt-Z     Alt-Z  -  Zoom on Window
  8016.      Alt-MAlt-M  -  Move Marked Block
  8017.  
  8018.      F0F0  -  Generate Alt command on Z100 computers
  8019.      F1F1  -  Change Active Window to Window 1
  8020.      F2F2  -  Change Active Window to Window 2
  8021.      F3F3  -  Change Active Window to Window 3
  8022.      F4F4  -  Change Active Window to Window 4
  8023.      F5F5  -  Close Active Window and its Buffer
  8024.      F6F6  -  Goto Line or Marked Block
  8025.      F7F7  -  Help Menu (same as Alt-H)
  8026.      F8F8  -  Mark Block:  Begin > End > Clear
  8027.      F9F9  -  Delete Marked Block
  8028.      F10F10 -  Repeat Search
  8029.  
  8030.      IBM___     Z100____
  8031.      HOME    ^S     HOME    ^S     Start of Line
  8032.      END     ^N     END     ^N     End of Line
  8033.      PgUp    F11    PgUp    F11    Window up one page
  8034.      PgDn    F12    PgDn    F12    Window down one page
  8035.      ^X      ^X     ^X      ^X     Delete to End of Line
  8036.      ^LEFT   ^B     ^LEFT   ^B     Back one Word
  8037.      ^RIGHT  ^F     ^RIGHT  ^F     Forward one Word
  8038.      ^HOME   sF11   ^HOME   sF11   Top of File
  8039.      ^END           ^END           End of File
  8040.      ^PgUp          ^PgUp          Window up one line
  8041.      ^PgDn          ^PgDn          Window down one line
  8042.      ^Esc           ^Esc           Generate Escape Character
  8043.  
  8044.  
  8045.  
  8046.  
  8047.  
  8048.  
  8049.  
  8050.  
  8051.  
  8052.  
  8053.  
  8054.  
  8055.  
  8056.  
  8057.  
  8058.  
  8059.                                       119119
  8060.  
  8061.                                                  Editor - Command Reference
  8062.      ----------------------------------------------------------------------
  8063.  
  8064.  
  8065.  
  8066.  
  8067.                                Command ReferenceCommand Reference
  8068.  
  8069.      Alt-A  -    ASCII ConvertAlt-A  -    ASCII Convert   Masks  (strips) the  eighth  bit  of  each
  8070.                  character in  the buffer  of the  active window.   This is
  8071.                  useful  to   convert  files   produced  under   some  word
  8072.                  processors that  use  the  eighth  bit  to  indicate  soft
  8073.                  spaces, carriage  returns, etc....   Files  of this nature
  8074.                  usually load  with an Invalid CR-LF Sequences message.  If
  8075.                  you intend  to use  Alt-A, do notdo not tell the editor to fixup
  8076.                  the Invalid CR-LF's.
  8077.  
  8078.      Alt-B  -    Buffer ChangeAlt-B  -    Buffer Change   Changes  the buffer assigned to the active
  8079.                  window.   A popular  technique is  to load several buffers
  8080.                  with different  files and  then use this command to switch
  8081.                  between them.
  8082.  
  8083.      Alt-C  -    Copy BlockAlt-C  -    Copy Block  Copies the marked lines (block) to the current
  8084.                  cursor position,  inserting them  before the line actually
  8085.                  cursored.  Lines are marked with the F8 key.
  8086.  
  8087.      Alt-D  -    Delete LineAlt-D  -    Delete Line  Deletes the currently cursored line.  Deleted
  8088.                  lines go into a 2k LIFO (last in, first out) delete stack.
  8089.                  You can retrieve deleted lines with the Alt-U command.
  8090.  
  8091.      Alt-E  -    Edit New  FileAlt-E  -    Edit New  File   Loads a new file into the buffer assigned
  8092.                  to the  active window.   If  the buffer  being loaded  has
  8093.                  changes not saved, you will be warned first.
  8094.  
  8095.      Alt-F  -    Filename ChangeAlt-F  -    Filename Change    Changes  the  filename  of  the  buffer
  8096.                  assigned to  the active window.  A common use is to create
  8097.                  a new file by having the editor load an existing file with
  8098.                  similar contents  to what  you're  after,  edit  it,  then
  8099.                  rename it with this command and save it with the new name.
  8100.  
  8101.      Alt-G  -    Goto LineAlt-G  -    Goto Line   (F6)   Jumps  to a  specified line number.  If
  8102.                  there is a marked block and only the return key is pressed
  8103.                  (nothing entered),  the editor will jump to the first line
  8104.                  of the  marked block.  This is useful when you are working
  8105.                  with a  certain section  of text but want to quickly check
  8106.                  something somewhere else.  You can simply pop the F8 (mark
  8107.                  block) a  couple times  to mark  the your current line, go
  8108.                  check the other part of your file, and then press F6 (this
  8109.                  command) and the return key to come back.
  8110.  
  8111.      Alt-H  -    Help ScreenAlt-H  -    Help Screen  (F7)  Displays a condensed help screen.
  8112.  
  8113.      Alt-I  -    Insert LineAlt-I  -    Insert Line   Inserts  a new  line at  the current  cursor
  8114.                  position, bumping the current line down.
  8115.  
  8116.      Alt-K  -    Configuration/StatusAlt-K  -    Configuration/Status     Displays  the   editor's  current
  8117.                  configuration,  buffer   assignments/usage,   and   memory
  8118.                  status.   Refer to  Editor -  Configuration Menu  for more
  8119.                  information.
  8120.  
  8121.  
  8122.  
  8123.                                       120120
  8124.  
  8125.                                                  Editor - Command Reference
  8126.      ----------------------------------------------------------------------
  8127.  
  8128.      Alt-L  -    PC Line  DrawAlt-L  -    PC Line  Draw   Toggles the  editor's line  drawing  mode.
  8129.                  Pressing once  uses  single  lines,  pressing  twice  uses
  8130.                  double lines,  and pressing again disables.  When engaged,
  8131.                  any use of the cursor motion keys produces the appropriate
  8132.                  line graphics  character.   To move  without drawing, hold
  8133.                  the shift  key down  while using a cursor key (this can be
  8134.                  simulated on  the Z100  by using  the number  keys on  the
  8135.                  keypad).   It is  not necessary  to ensure  that there are
  8136.                  enough lines  or that  the  lines  contain  enough  spaces
  8137.                  horizontally before  drawing.   When the line draw mode is
  8138.                  active, the  editor inserts spaces to extend a line if you
  8139.                  move up  or down to a line that isn't as long as where you
  8140.                  were.
  8141.  
  8142.      Alt-M  -    Move BlockAlt-M  -    Move Block   Moves the marked lines (block) to the current
  8143.                  cursor position,  inserting them  before the line actually
  8144.                  cursored.  Lines are marked with the F8 key.
  8145.  
  8146.      Alt-O  -    One WindowAlt-O  -    One Window  If you had split the screen into more than one
  8147.                  window (using  F2, F3,  or F4),  this command  will  close
  8148.                  windows 2,  3, and  4 so  that window 1 occupies the whole
  8149.                  screen (the buffers assigned to windows 2, 3, and 4 remain
  8150.                  intact).
  8151.  
  8152.      Alt-P  -    PrintAlt-P  -    Print   If there  is a marked block in any one of the four
  8153.                  buffers, the marked lines will be printed.  Otherwise, the
  8154.                  entire contents  of the  buffer  assigned  to  the  active
  8155.                  window are  printed.  If the print spooler is active, this
  8156.                  command dumps straight to the spooler's buffer.
  8157.  
  8158.      Alt-Q  -    Quit and  Keep BuffersAlt-Q  -    Quit and  Keep Buffers   Exits  the  editor,  keeping  the
  8159.                  editor's buffers  and the  editor's  overlay  resident  in
  8160.                  memory.
  8161.  
  8162.      Alt-R  -    Search and ReplaceAlt-R  -    Search and Replace  When invoked, this command will prompt
  8163.                  you for  the search  text.  The case of the search text is
  8164.                  insignificant as  the  editor  searches  case-insensitive.
  8165.                  Next you  will be  asked for  the replace  text.  The case
  8166.                  entered for  the replace  text is significant because what
  8167.                  is entered  will be  used to  replace with.    When  these
  8168.                  prompts are  issued, they will contain the previously used
  8169.                  text.   If the  previous text  is similar  to what you are
  8170.                  after, then just type over it to change it; otherwise, use
  8171.                  Ctrl-X to clear it and start fresh.
  8172.  
  8173.                  If the  active window  has a  marked block,  you  will  be
  8174.                  prompted whether  you want  the confine  the scope  to the
  8175.                  marked block.   This could be handy if you want to use the
  8176.                  global option  (described next),  but want  to be  sure it
  8177.                  only acts on certain lines.
  8178.  
  8179.                  After the prompts have been answered, the editor commences
  8180.                  to search  for the  first occurrence.   If  found,  it  is
  8181.                  displayed and  highlighted and  you will be given a prompt
  8182.                  for "Local, Global, Skip".  If you respond with Local, the
  8183.                  editor will  replace the occurrence and present the prompt
  8184.                  again for another occurrence.  If you respond with Global,
  8185.  
  8186.  
  8187.                                       121121
  8188.  
  8189.                                                  Editor - Command Reference
  8190.      ----------------------------------------------------------------------
  8191.  
  8192.                  the editor  will replace  that occurrence  and any further
  8193.                  occurrences, without  any  further  prompting,  until  the
  8194.                  original start  point is encountered (the Esc key aborts).
  8195.                  (Alt-V -  Global Replace  View Mode  controls whether  the
  8196.                  screen is updated during global replaces.)  If you respond
  8197.                  with Skip, the editor will leave the occurrence intact and
  8198.                  continue searching.
  8199.  
  8200.      Alt-S  -    SearchAlt-S  -    Search   When invoked,  this command  prompts you  for the
  8201.                  search text.  The case of the search text is insignificant
  8202.                  as the  editor searches case-insensitive.  When the prompt
  8203.                  is issued,  it will  contain the previously used text.  If
  8204.                  the previous  text is  similar to what you are after, then
  8205.                  just type  over it  to change it; otherwise, use Ctrl-X to
  8206.                  clear it  and start  fresh.   After  the  search  text  is
  8207.                  entered, the  command will search for the next occurrence.
  8208.                  If found,  the active  window is  updated and  the  cursor
  8209.                  points to  the first  character of  the found  text.    To
  8210.                  repeat the search for the same text, use the F10 key.
  8211.  
  8212.      Alt-T  -    ASCII Character TableAlt-T  -    ASCII Character Table  When invoked, this command displays
  8213.                  a window  of the  ASCII character  set.   Use the left and
  8214.                  right cursor  keys to scroll it from start to end, and the
  8215.                  Esc key  to exit.   If  you want  to generate  one of  the
  8216.                  characters that  can't  be  typed,  make  a  note  of  the
  8217.                  character's decimal  value, exit  the table, hold down the
  8218.                  Alt key,  type the  decimal value  on the keypad, and then
  8219.                  release the Alt key.
  8220.  
  8221.      Alt-U  -    Undo Deleted  LineAlt-U  -    Undo Deleted  Line   Inserts the last deleted line of text
  8222.                  from the delete stack at the current cursor position.  The
  8223.                  editor maintains  a 2k delete stack which holds text lines
  8224.                  deleted using  Alt-D.   When a  line is deleted which will
  8225.                  exceed the  2k  size  of  the  delete  stack,  the  editor
  8226.                  discards the  oldest line  to  make  room  for  the  newly
  8227.                  deleted line.   This  ensures that you will always be able
  8228.                  to retrieve the last 2k of deleted lines.
  8229.  
  8230.      Alt-V  -    Global Replace  View ModeAlt-V  -    Global Replace  View Mode  Toggles whether the Global mode
  8231.                  of Alt-R  - Search and Replace updates the screen while it
  8232.                  is replacing text.  Turning this mode off results in a 25%
  8233.                  increase in  speed.  Having it on may provide some comfort
  8234.                  in knowing  what has  been replaced.  Changes to this mode
  8235.                  are automatically saved in the configuration file.
  8236.  
  8237.      Alt-W  -    Write FileAlt-W  -    Write File   Saves  the contents of the buffer assigned to
  8238.                  the active  window.  If the buffer doesn't have a filename
  8239.                  (such as  when using  Alt-E to enter the editor), you will
  8240.                  be prompted  for a  filename before the buffer is written.
  8241.                  Successfully writing  a file  resets the buffer's Mod flag
  8242.                  (the Mod  flag indicates changes not saved in the Editor's
  8243.                  Configuration Menu).
  8244.  
  8245.      Alt-X  -    Exit and  CloseAlt-X  -    Exit and  Close  Exits the editor, closing all buffers and
  8246.                  releasing the  editor's overlay.    If  any  buffers  have
  8247.                  changes  not  saved,  you  will  be  warned  first  before
  8248.                  proceeding.
  8249.  
  8250.  
  8251.                                       122122
  8252.  
  8253.                                                  Editor - Command Reference
  8254.      ----------------------------------------------------------------------
  8255.  
  8256.  
  8257.      Alt-Z  -    Zoom on  WindowAlt-Z  -    Zoom on  Window   This command,  like Alt-O,  restores the
  8258.                  screen to just window 1, but where Alt-O leaves the buffer
  8259.                  assignments intact, Alt-Z assigns the buffer of the active
  8260.                  window to  window 1.   In  effect, this  zooms in  on  the
  8261.                  window that was selected (provided you're not currently in
  8262.                  window 1).
  8263.  
  8264.      F0  -  Alt   F0  -  Alt   (Z100  Only)    When  dCOM  is  used  on  a  Zenith  Z100
  8265.             microcomputer (which has no alternate key), pressing the F0 key
  8266.             will prompt for the alternate command to execute.
  8267.  
  8268.      F1  -  Window 1F1  -  Window 1   If  you had  split the  screen into  several windows
  8269.             (using F2,  F3, or  F4), this  key changes the active window to
  8270.             window 1.
  8271.  
  8272.      F2  -  Window 2F2  -  Window 2  Changes the active window to window 2 (and splits the
  8273.             screen if necessary).
  8274.  
  8275.      F3  -  Window 3F3  -  Window 3  Changes the active window to window 3 (and splits the
  8276.             screen if necessary).
  8277.  
  8278.      F4  -  Window 4F4  -  Window 4  Changes the active window to window 4 (and splits the
  8279.             screen if necessary).  Note:  Window 3 must be opened first.
  8280.  
  8281.      F5  -  Close Window  and BufferF5  -  Close Window  and Buffer  This command closes the active window
  8282.             (if it is not window 1) and discards the contents of the buffer
  8283.             assigned to  it.  If the buffer has changes not saved, you will
  8284.             be warned first before proceeding.
  8285.  
  8286.      F6  -  Goto LineF6  -  Goto Line  Same as Alt-G.
  8287.  
  8288.      F7  -  HelpF7  -  Help  Same as Alt-H.
  8289.  
  8290.      F8  -  Mark BlockF8  -  Mark Block   Is used to mark (highlight) a block of lines for a
  8291.             subsequent copy,  move, etc....   Press  this key  once on  the
  8292.             first line  of the  desired text  (that line will highlight and
  8293.             the message  area will  say Second Mark...), move the cursor to
  8294.             the last  line of  the desired  text, and  press it again.  The
  8295.             entire text  marked will  now be  highlighted and  ready for  a
  8296.             block oriented  command.  If you press this key again, the mark
  8297.             will be  cleared.   Note:   It makes  no difference if you mark
  8298.             starting from the top or starting from the bottom.
  8299.  
  8300.      F9  -  Delete Marked  BlockF9  -  Delete Marked  Block  Deletes the currently marked block.  As a
  8301.             safeguard, it  prompts for confirmation first before proceeding
  8302.             because the deleted lines cannot be retrieved.
  8303.  
  8304.      F10  - Repeat SearchF10  - Repeat Search  Resumes searching for the text entered using the
  8305.             Alt-S command.
  8306.  
  8307.      ^Esc^Esc         Generates an  actual escape  character in  your text (IBM
  8308.                   only, and is displayed as a left arrow).
  8309.  
  8310.      ReturnReturn       When pressed  with the  Insert mode  on,  it  breaks  the
  8311.                   current line,  carrying any text following it down to the
  8312.                   new line.   Otherwise,  with Insert  mode off, the cursor
  8313.  
  8314.  
  8315.                                       123123
  8316.  
  8317.                                                  Editor - Command Reference
  8318.      ----------------------------------------------------------------------
  8319.  
  8320.                   simply drops  to the  next line  (unless you're on top of
  8321.                   the diamond end of text marker).  Note:  There is no need
  8322.                   to press  Return for  the sole  reason of entering a line
  8323.                   just typed;  characters are stored in the window's buffer
  8324.                   as they are typed.
  8325.  
  8326.      HelpHelp         (Z100)  Same as Alt-H, produces help.
  8327.  
  8328.      DellinDellin       (Z100)  Same as Alt-D, deletes a line.
  8329.  
  8330.      InslinInslin       (Z100)  Same as Alt-I, inserts a new line.
  8331.  
  8332.  
  8333.  
  8334.  
  8335.  
  8336.  
  8337.  
  8338.  
  8339.  
  8340.  
  8341.  
  8342.  
  8343.  
  8344.  
  8345.  
  8346.  
  8347.  
  8348.  
  8349.  
  8350.  
  8351.  
  8352.  
  8353.  
  8354.  
  8355.  
  8356.  
  8357.  
  8358.  
  8359.  
  8360.  
  8361.  
  8362.  
  8363.  
  8364.  
  8365.  
  8366.  
  8367.  
  8368.  
  8369.  
  8370.  
  8371.  
  8372.  
  8373.  
  8374.  
  8375.  
  8376.  
  8377.  
  8378.  
  8379.                                       124124
  8380.  
  8381.                                                 Editor - Configuration Menu
  8382.      ----------------------------------------------------------------------
  8383.  
  8384.  
  8385.  
  8386.  
  8387.                                Configuration MenuConfiguration Menu
  8388.  
  8389.      Upon entry  to the  editor's configuration menu, you will be shown the
  8390.      current  buffer   assignments  and   status,  the   editor's   current
  8391.      configuration, and memory consumption.
  8392.  
  8393.      When you  first invoke  the configuration  menu,  you  will  have  two
  8394.      options:   Edit (the  configurable part)  or Exit.   Though the screen
  8395.      indicates that  "X" key  is the  only way to exit, the Space, Esc, and
  8396.      Return  keys  exit  as  well.    If  you  had  previously  edited  the
  8397.      configuration and not saved it, you will also have a Save option.
  8398.  
  8399.  
  8400.                                  Window BuffersWindow Buffers
  8401.  
  8402.      This section  of the editor's configuration menu indicates the current
  8403.      buffer assignments and some status concerning them.  If, while you are
  8404.      using the  editor, you feel you have lost track of which buffer/window
  8405.      contains what, you will find the answers here.
  8406.  
  8407.          ,-------------------------------------------------------,
  8408.          |  W - B   FILENAME       LINES    SIZE    MOD    MARK  |
  8409.          |-------------------------------------------------------|
  8410.          |  *1 *2   *3              *4       *5      *6     *7   |
  8411.          |                                                       |
  8412.          |                                                       |
  8413.          |                                                       |
  8414.          `-------------------------------------------------------'
  8415.  
  8416.      *1*1   Indicates the window number (1-4).
  8417.      *2*2   Indicates the buffer assigned to the window.
  8418.      *3*3   Indicates the filename assigned to the buffer.
  8419.      *4*4   Indicates the number of lines of text in the buffer.
  8420.      *5*5   Indicates the total size of the buffer in bytes.
  8421.      *6*6   Indicates whether  the buffer has been modified since it was last
  8422.           saved.
  8423.      *7*7   Indicates whether the buffer has a block marked in it.
  8424.  
  8425.      Remember that  buffers are  assigned to windows which means that items
  8426.      *3 - *7 belong to the buffer (*2) not the window (*1).
  8427.  
  8428.  
  8429.  
  8430.  
  8431.                                  ConfigurationConfiguration
  8432.  
  8433.      This  section   of  the   editor's  configuration  menu  contains  the
  8434.      changeable parameters concerning the operation of the editor.
  8435.  
  8436.      Write Ctrl-Z EOFWrite Ctrl-Z EOF   Controls whether  an ASCII  26 (Ctrl-Z) is appended
  8437.                         onto the  end of  the file  when the  editor writes
  8438.                         (saves) files.   Normally  this switch  would be on
  8439.                         (default);  however,   some   compilers   go   into
  8440.                         convulsions when they encounter a Ctrl-Z before the
  8441.  
  8442.  
  8443.                                       125125
  8444.  
  8445.                                                 Editor - Configuration Menu
  8446.      ----------------------------------------------------------------------
  8447.  
  8448.                         directory end-of-file.   In  which case,  turn this
  8449.                         switch off.
  8450.  
  8451.      Enhanced VideoEnhanced Video     Controls whether  the editor  will display  special
  8452.                         characters to  show tabs, carriage returns, and the
  8453.                         end-of-file.    Having  this  switch  on  (default)
  8454.                         allows you  to see  tab columns,  whether there are
  8455.                         extra spaces  on the end of each line, and if there
  8456.                         are extra  lines after the last visible line before
  8457.                         the end-of-file.
  8458.  
  8459.      Use Border LinesUse Border Lines   Controls whether the editor displays top, left, and
  8460.                         right borders.   Having  it  on  (default)  may  be
  8461.                         considered aesthetic.   Having  it off will provide
  8462.                         two more columns of editing room.
  8463.  
  8464.      Use Solid LinesUse Solid Lines    Controls  whether  the  editor  uses  the  PC  Line
  8465.                         Drawing characters  when displaying screen borders,
  8466.                         or the heavier (solid) block characters.
  8467.  
  8468.      Foreground ColorForeground Color   Determines the  color used  to display  buffer text
  8469.                         inside the windows.
  8470.  
  8471.      Graphics ColorGraphics Color     Determines the color used for border lines.
  8472.  
  8473.      Statusline ColorStatusline Color   Determines the  color used  to display  the  status
  8474.                         information on the 25th screen line.
  8475.  
  8476.      Highlight ColorHighlight Color    Determines the  color used to display marked blocks
  8477.                         of text.
  8478.  
  8479.      Background ColorBackground Color   Determines the backplane color.
  8480.  
  8481.      Vertical SplitVertical Split     Determines the  screen column  used when  splitting
  8482.                         the screen vertically (opening windows 2 or 4).
  8483.  
  8484.      Horizontal SplitHorizontal Split   Determines the  screen line used when splitting the
  8485.                         screen horizontally (opening windows 3 or 4).
  8486.  
  8487.  
  8488.  
  8489.  
  8490.                                 Consumed MemoryConsumed Memory
  8491.  
  8492.      This  section   of  the  editor's  configuration  menu  indicates  the
  8493.      percentage of memory available to the editor that is currently in use.
  8494.  
  8495.  
  8496.  
  8497.  
  8498.  
  8499.  
  8500.  
  8501.  
  8502.  
  8503.  
  8504.  
  8505.  
  8506.  
  8507.                                       126126
  8508.  
  8509.                                                                   Technical
  8510.      ----------------------------------------------------------------------
  8511.  
  8512.  
  8513.  
  8514.  
  8515.                              TECHNICAL DISCUSSIONSTECHNICAL DISCUSSIONS
  8516.  
  8517.      ======================================================================
  8518.      This section  is provided  for those  having an affinity for technical
  8519.      mumbo-jumbo.   Its contents,  though, should  in no  way be considered
  8520.      required reading.
  8521.  
  8522.  
  8523.                                   Memory UsageMemory Usage
  8524.  
  8525.      dCOM is  structured much  like MS-DOS in its use of memory.  It uses a
  8526.      very small loader program (DCOM.COM) which parses the command line and
  8527.      environment variable, establishes the environment, shifts itself up in
  8528.      memory, and  loads the resident portion of dCOM (DCOM.000) below it at
  8529.      the same  location the loader was.  The resident portion then performs
  8530.      some more  of its  own initialization, deallocates this initialization
  8531.      code (located  on the  very end),  and loads  the transient portion of
  8532.      dCOM (DCOM.001) to the highest memory possible.
  8533.  
  8534.      The memory  between the  transient portion  and the  resident  portion
  8535.      becomes a  HEAP which  dCOM manages  with 14  dynamic buffers for such
  8536.      things as  the print  spooler, macro  keys, overlay  run space, editor
  8537.      overlay, editor  buffers, etc....   When a program is run, the HEAP is
  8538.      reduced to  exactly what  is needed  and if  there is EMS present, the
  8539.      HEAP is  moved into  it; if EMS is not present, the HEAP is shifted up
  8540.      as high  in memory as possible and the transient portion shifted right
  8541.      underneath it  (with the  memory marked as free).  Upon return, if EMS
  8542.      is present,  the HEAP  is  restored  directly  to  the  lowest  memory
  8543.      possible; if  EMS is not present, the HEAP is moved down to the lowest
  8544.      memory possible and what might still be the transient portion is moved
  8545.      to the  highest memory possible.  The memory which used to contain the
  8546.      transient portion is then checksummed and if intact is run; otherwise,
  8547.      the transient portion is reloaded from DCOM.001.
  8548.  
  8549.      What this  all means  is that  dCOM is  going to  the greatest extents
  8550.      possible to  ensure the  most efficient  use of  memory.   Under  this
  8551.      scheme, TSR's  can load  and not  interfere with  or segment  the main
  8552.      block of user memory.
  8553.  
  8554.  
  8555.  
  8556.  
  8557.  
  8558.  
  8559.  
  8560.  
  8561.  
  8562.  
  8563.  
  8564.  
  8565.  
  8566.  
  8567.  
  8568.  
  8569.  
  8570.  
  8571.                                       127127
  8572.  
  8573.                                                                      Author
  8574.      ----------------------------------------------------------------------
  8575.  
  8576.  
  8577.  
  8578.  
  8579.                                      AUTHORAUTHOR
  8580.  
  8581.      ======================================================================
  8582.      Dave Frailey is currently employed by the Air Force Flight Test Center
  8583.      at Edwards  AFB as  a civilian  computer systems  analyst.  During his
  8584.      tenure at  Edwards AFB,  he has performed a variety of other functions
  8585.      such as:  Aircraft Integrated Electronic Systems Mechanic, Electronics
  8586.      Technician, Computer  Programmer Analyst, and acting Chief of the Mass
  8587.      Properties Section.   He  is also the author of the Air Force and Army
  8588.      Standard Automated  Aircraft Weight and Balance System (also in use by
  8589.      the Navy  and National  Guard).   And, when time permits, he serves as
  8590.      president of DAC Micro Systems.
  8591.  
  8592.      He undertook  computer programming in 1979 as a hobby while serving on
  8593.      active duty  as an  avionics technician  in the  United States  Marine
  8594.      Corps.   Dave  gained  his  knowledge  in  computer  science  the  old
  8595.      fashioned way:   craniocerebral  impact with  many walls.   As of this
  8596.      writing, he  still has  yet to  complete a  single  formal  course  in
  8597.      computer science.
  8598.  
  8599.      The son of a country doctor raised in the sticks of northern Michigan,
  8600.      with a  family tree  loaded with  doctorate  degrees,  Dave  has  been
  8601.      determined to  prove that  success and  recognition in  this field can
  8602.      also be realized without following society's prescribed route of first
  8603.      acquiring some  pig-skin.  While it would be accurate to say that Dave
  8604.      has accomplished  this, he would now never advocate this rocky road to
  8605.      anyone else.  Dave's lack of a formal education really has only proven
  8606.      to be detrimental when it happens to come up in employment discussions
  8607.      with major  regimented corporations.   But  that's ok 'cause Dave is a
  8608.      maverick of  sorts and  doesn't really  relish  the  idea  of  finding
  8609.      himself at age 55 buried in the anonymity of an organizational dungeon
  8610.      with 200 other programmers....
  8611.  
  8612.      He currently resides in the high desert community of Lake Los Angeles,
  8613.      California, with his wife, son, and computer mistress.
  8614.  
  8615.  
  8616.  
  8617.  
  8618.  
  8619.  
  8620.  
  8621.  
  8622.  
  8623.  
  8624.  
  8625.  
  8626.  
  8627.  
  8628.  
  8629.  
  8630.  
  8631.  
  8632.  
  8633.  
  8634.  
  8635.                                       128128
  8636.  
  8637.  
  8638.  
  8639.  
  8640.      Access Password  11, 33, 48          Line Feed  23
  8641.      Activity Log  9                      Screen Blanking  23
  8642.      Advance After Tag  55, 57            Spooler Clearing  23
  8643.      Alarms                              Installation  5
  8644.       Look-Ahead Scan  72                Introduction  1
  8645.       Menu  42, 72                       Keypad Plus Key  23, 51, 55, 57
  8646.      Audit Trail  9                      Line Feed  23
  8647.      AUTOEXEC.BAT  6, 7                  Log Drive  44
  8648.      Border Type  55                     Macro Keys  73
  8649.      Cache Floppy I/O  43, 55             Autoexec  10
  8650.      Command Line Switches  9             Command Reference  83
  8651.      Command Reference                    Commands Quick Reference  81
  8652.       Macro Keys  83                      Default Macro File  11
  8653.       Text Editor  120                    Display Titles  51
  8654.       Utility Mode  42                    Editing  49, 76
  8655.      Configuration                        Examples  99
  8656.       Print Spooler  66                   File Format  78
  8657.       Text Editor  120, 125               General Use  74
  8658.       Utility Mode  44, 53                Keyboard Gosub  51
  8659.         Colors  59                        Keyboard Goto  50
  8660.         Drives  62                        Menu Mode  11, 51
  8661.         Mouse  61                         Menuing  109
  8662.      Copying Files  42                    Password Protection  80, 111
  8663.       Cache Floppy I/O  43                Switches  80
  8664.       Overwrite Warnings  43              Technical Tricks  107
  8665.       Using the Tree  42                  Temporary Variables  10
  8666.      Critical Errors  30                  Variables  37, 82, 94
  8667.      Default Macro File  11              Make Dir  49
  8668.      Deleting Files  43                  Menu Mode  4, 11, 14, 109
  8669.      DesqView  8                         Menuing  109
  8670.      Disk Drives                          Security  111
  8671.       Configuration  62                  Mouse
  8672.      Distribution Files  5                Configuration  61
  8673.      DOS Command Line  51                 Using  25
  8674.      Draggable Pop-up Menu's  33         Moveable Pop-up Menu's  33
  8675.      Drive Select Box  4, 40, 42, 44     Moving Files  44
  8676.      EGA Palette Mode  55                 Overwrite Warnings  44
  8677.      Encountering Trouble  31             Using the Tree  44
  8678.      Environment  50                     MS-DOS Version 2  16
  8679.       Size  10, 14                       Overwrite Warnings   43,  44, 47,
  8680.       Variable  7, 9                     55, 57
  8681.      Executing Programs  51              Password  48
  8682.      Expanded Memory  3, 10, 66, 68      Plus Key, Keypad  23, 55, 57
  8683.      Extension Execute  37               Point-n-Shoot  33
  8684.      File Attribute Display  55          Primary Shell  14
  8685.      Finding Files  43, 45, 49           Print Spooler  12, 66
  8686.      Floppy Disk Use  11                  Clearing  23
  8687.      Form Feed  23                        CPU Priority  12, 66
  8688.      Guided Tour  17                      Menu  49, 68
  8689.      Help                                Print System  49, 66
  8690.       Text Editor  120, 123              Printer Port  47, 55, 58
  8691.       Utility Mode  43                   Printer Redirection  68
  8692.      Hiding Files/Directories  48        Printing Files  45
  8693.      Home Directory  4, 5, 7, 14         Priority Tag  35, 48
  8694.      Hot-Keys  23                        Prompt Editing  27
  8695.       Form Feed  23                      Quick Reference
  8696.       Keypad Plus Mode  23                Macro Commands  81
  8697.  
  8698.  
  8699.  
  8700.  
  8701.       Macro Variables  82                 Filename Changing  120
  8702.       Text Editor  119                    Global Rplc View Mode  122
  8703.       Utility Mode  41                    Goto Line  120, 123
  8704.      Read Only Attribute, Setting  49     Help  120, 123
  8705.      Renaming Files  45                   Inserting Lines  120, 123
  8706.      Requirements  3                      Introduction  112
  8707.      Running dCOM  8                      Invoking  43, 48, 113, 115
  8708.      Running Programs  51                 Load New File  120
  8709.      Screen Blanking  23                  Marking Blocks  116, 123
  8710.      Screen Layout                        Moving Text  117, 121
  8711.       Print Spooler  68                   PC Line Drawing  121
  8712.       Text Editor  118                    Printing Text  121
  8713.       Utility Mode  39                    Quick Reference  119
  8714.       Utility Mode Configuration  54      Read Errors  114
  8715.      Screen Saver  56                     Save File  122
  8716.      Search Disk  49                      Search  122
  8717.      Shell, Primary  14                   Search and Replace  121
  8718.      Sidebar Menu  4                      Search Repeating  123
  8719.      Single Key  Prompts   33, 47, 55,    Undo Deleted Line  122
  8720.      57                                   Window Splits   115,  121,  123,
  8721.      Sort Mode  46, 54, 56                126
  8722.      Sound Suppression  55                Write File  122
  8723.      Tagging Files  33, 35, 45, 48, 50    Zoom Window  123
  8724.       Auto Advance  47                   TopView  8
  8725.      Technical  127                      Tree  13, 63
  8726.      Technical Tricks                     Changing Dirs  65
  8727.       Macro Keys  107                     Copying Files  42
  8728.      Term Definitions  4                  Hidden Dirs  65
  8729.      Text Editor                          Invoking  50
  8730.       ASCII Character Table  122          Moving Files  44
  8731.       ASCII Convert  120                  Sorting  65
  8732.       Buffers  115, 120, 125              Using  65
  8733.       Close Window & Buffer  123         TSR Programs  4, 28, 48
  8734.       Command Reference  120             Untagging Files  45
  8735.       Configuration Menu  125            Utility Mode  4, 33
  8736.       Configuration/Status  120           Command Reference  42
  8737.       Copying Text  117, 120              Quick Reference  41
  8738.       Delete Line  120                   View Mode  33, 45, 54, 57
  8739.       Delete Marked Block  123           Visual Tree  13, 63
  8740.       Edit New File  120                  Using with Copy or Move  64
  8741.       Esc Character  123                 Wait Mode  45, 55, 57
  8742.       Exiting  113, 121, 122             Z100 Use  19
  8743.  
  8744.                                                                       Notes
  8745.      ----------------------------------------------------------------------
  8746.  
  8747.                                                                       Notes
  8748.      ----------------------------------------------------------------------
  8749.  
  8750.  
  8751.  
  8752.  
  8753.  
  8754.  
  8755.  
  8756.                           Utility Mode Quick ReferenceUtility Mode Quick Reference
  8757.  
  8758.        AA -  Alarm Menu             P      P    -  Print  [CTD]
  8759.        CC  -  Copy  [CTD]           R      R  -  Rename  [C]
  8760.        DD  -  Delete  [CTD]         S   S  -  Search Dir
  8761.        EE  -  Edit  [C]             TT  -  Tag  [C]
  8762.        FF  -  Find File             UU  -  Untag All
  8763.        HH  -  Help                  V      V  -  View Mode
  8764.        KK  -  Configuration         W      W  -  Wait Mode
  8765.        LL  -  Log Drive             X      X  -  Exit
  8766.        MM  -  Move  [CTD]           Z      Z  -  Sort Mode
  8767.        NN  -  Next Page
  8768.  
  8769.        ^A^A  -  Advance After Tag    ^P^P  -  Printer Port
  8770.        ^K^K  -  Single Key Prompts   ^T^T  -  Priority Tag  [C]
  8771.        ^O^O  -  Overwrite Warnings   ^V^V  -  View/Clear TSR's
  8772.  
  8773.      Alt-AAlt-A  -  Access Password     Alt-PAlt-P  -  Print System
  8774.      Alt-EAlt-E  -  Edit, No Load       Alt-RAlt-R  -  Read Only  [CT]
  8775.      Alt-HAlt-H  -  Hidden Flag  [CT]   Alt-SAlt-S  -  Search Disk
  8776.      Alt-KAlt-K  -  Edit Macro File     Alt-T   Alt-T  -  Tag All Files
  8777.      Alt-MAlt-M  -  Make Directory      Alt-V   Alt-V  -  View/Set Env
  8778.  
  8779.      HomeHome  -  Select First Entry   ^Home^Home  -  Root Dir
  8780.      EndEnd   -  Select Last Entry    Ret   Ret    -  Execute or ChDir
  8781.      SpaceSpace -  Execute w/opt        Tab   Tab    -  MS-DOS Cmd
  8782.      "/""/"   -  Gosub a Macro File   ".""."    -  Goto a Macro File
  8783.      "-""-"   -  Visual Tree
  8784.  
  8785.  
  8786.                                     Hot KeysHot Keys
  8787.  
  8788.        s^Bs^B  -  Blank Screen & Lock Kbd       s^Cs^C  -  Clear Spooler
  8789.        s^Fs^F  -  Send Form-feed to Printer     s^Ls^L  -  Send Line-feed
  8790.        s+s+   -  Toggle Keypad Plus = Return Mode
  8791.  
  8792.  
  8793.  
  8794.  
  8795.  
  8796.  
  8797.  
  8798.  
  8799.  
  8800.  
  8801.  
  8802.  
  8803.  
  8804.      ____________________
  8805.      CC -  Operates on currently selected entry.
  8806.      TT -  Operates  on   tagged  files  before  recognizing  the  currently
  8807.        selected entry.
  8808.      DD -  Operates on  the entire  contents of  a subdirectory by selecting
  8809.        its name from the previous directory.
  8810.  
  8811.  
  8812.  
  8813.  
  8814.  
  8815.  
  8816.  
  8817.                           Text Editor Quick ReferenceText Editor Quick Reference
  8818.  
  8819.      Alt-AAlt-A  -  ASCII Convert            Alt-OAlt-O  -  One Window
  8820.      Alt-BAlt-B  -  Buffer Change            Alt-PAlt-P  -  Print Window or Block
  8821.      Alt-CAlt-C  -  Copy Marked Block        Alt-QAlt-Q  -  Quit and Keep Buffers
  8822.      Alt-DAlt-D  -  Delete Line              Alt-R          Alt-R  -  Replace, Search and
  8823.      Alt-EAlt-E  -  Edit New File            Alt-S          Alt-S  -  Search
  8824.      Alt-FAlt-F  -  Filename Change          Alt-TAlt-T  -  ASCII Character Table
  8825.      Alt-GAlt-G  -  Goto Line or Mark        Alt-U     Alt-U  -  Undo Deleted Line
  8826.      Alt-HAlt-H  -  Help Menu                Alt-V               Alt-V  -  Global Rplc View Mode
  8827.      Alt-IAlt-I  -  Insert Line              Alt-W          Alt-W  -  Write (Save) File
  8828.      Alt-KAlt-K  -  Config/Status Menu       Alt-X     Alt-X  -  Exit and Close
  8829.      Alt-LAlt-L  -  PC Line Draw Mode        Alt-Z     Alt-Z  -  Zoom on Window
  8830.      Alt-MAlt-M  -  Move Marked Block
  8831.  
  8832.      F0F0  -  Generate Alt command on Z100 computers
  8833.      F1F1  -  Change Active Window to Window 1
  8834.      F2F2  -  Change Active Window to Window 2
  8835.      F3F3  -  Change Active Window to Window 3
  8836.      F4F4  -  Change Active Window to Window 4
  8837.      F5F5  -  Close Active Window and its Buffer
  8838.      F6F6  -  Goto Line or Marked Block
  8839.      F7F7  -  Help Menu (same as Alt-H)
  8840.      F8F8  -  Mark Block:  Begin > End > Clear
  8841.      F9F9  -  Delete Marked Block
  8842.      F10F10 -  Repeat Search
  8843.  
  8844.      IBM___     Z100____
  8845.      HOME    ^S     HOME    ^S     Start of Line
  8846.      END     ^N     END     ^N     End of Line
  8847.      PgUp    F11    PgUp    F11    Window up one page
  8848.      PgDn    F12    PgDn    F12    Window down one page
  8849.      ^X      ^X     ^X      ^X     Delete to End of Line
  8850.      ^LEFT   ^B     ^LEFT   ^B     Back one Word
  8851.      ^RIGHT  ^F     ^RIGHT  ^F     Forward one Word
  8852.      ^HOME   sF11   ^HOME   sF11   Top of File
  8853.      ^END           ^END           End of File
  8854.      ^PgUp          ^PgUp          Window up one line
  8855.      ^PgDn          ^PgDn          Window down one line
  8856.      ^Esc           ^Esc           Generate Escape Character
  8857.  
  8858.  
  8859.  
  8860.  
  8861.  
  8862.  
  8863.  
  8864.                          Macro Commands Quick ReferenceMacro Commands Quick Reference
  8865.  
  8866.      >>command ..................... Force line to be executed by DOS
  8867.      dd: ........................... Set a new default drive
  8868.      :labellabel ....................... Designate a label
  8869.      BEEPBEEP ......................... Beep the speaker
  8870.      CDCD path ...................... Change current directory
  8871.      CDDCDD [d:][path] ............... Change current drive and directory
  8872.      CDDOCDDO ......................... Change to original drive & dir
  8873.      CHDIRCHDIR path ................... Change current directory
  8874.      CLSCLS .......................... Clear the screen
  8875.      CPOSNCPOSN [line][,column] ........ Positions the cursor
  8876.      DODO mask ...................... Execute block for each file in mask
  8877.      ECHOECHO text .................... Display text
  8878.      ENDDOENDDO ........................ Designate end of DO block
  8879.      ENDIFENDIF ........................ Designate end of IF block
  8880.      EXITEXIT ......................... Exit the macro key
  8881.      GETGET tvar [prompt] ............ Get from keybrd to temp variable
  8882.      GOSUBMFGOSUBMF macrofile [key] ...... Gosub (load) a new macro file
  8883.      GOTOGOTO label ................... Unconditional jump to a label
  8884.      GOTOMFGOTOMF macrofile [key] ....... Goto (load) a new macro file
  8885.      IFIF op1 <=> op2 cmdcmd ........... Conditional cmd using two oprnds
  8886.      IFIF [NOT] EXIST file cmdcmd ...... Conditional cmd if file exists
  8887.      IFIF op1 <=> op2 THENTHEN .......... Conditional block using two oprnds
  8888.      IFIF [NOT] EXIST file THENTHEN ..... Conditional block if file exists
  8889.      LOOPLOOP label ................... Loop to label if more tagged files
  8890.      MACROMENUMACROMENU ON/OFF ............. Turn menu mode on or off
  8891.      PAUSEPAUSE [text] ................. Pause for keystroke
  8892.      PRINTSTRPRINTSTR text ................ Send text to the printer
  8893.      REMREM [text] ................... Remark (comment) line
  8894.      RETURNRETURN ....................... Return to macro after GOSUBMF
  8895.      RUNMACRORUNMACRO key[key] ............ Set macro key to run (i.e. /F1)
  8896.      SELECTSELECT mask [text][/d][/n] ... Display a menu of files to sel from
  8897.      SETSET var=text ................. Set environment or temp variable
  8898.  
  8899.  
  8900.  
  8901.  
  8902.  
  8903.  
  8904.  
  8905.                         Macro Variables Quick ReferenceMacro Variables Quick Reference
  8906.  
  8907.      %0 - %9 .. Temporary variables (set with SET or GET)
  8908.      %FN ...... Currently selected file (no extension)
  8909.      %FE ...... Currently selected file and extension
  8910.      %TN ...... Current tagged filename (no extension)
  8911.      %TE ...... Current tagged filename and extension
  8912.      %DN ...... Current DO filename (no extension)
  8913.      %DE ...... Current DO filename and extension
  8914.      %SN ...... Filename (no extension) selected with SELECT
  8915.      %SE ...... Filename and extension selected with SELECT
  8916.      %SC ...... Count of files found by SELECT
  8917.      %TC ...... Count of tagged files
  8918.      %EL ...... Last error level returned by a program
  8919.      %DD ...... Default drive
  8920.      %CD ...... Current subdirectory
  8921.      %OD ...... Original default drive macro was run from
  8922.      %OS ...... Original subdirectory macro was run from
  8923.      %TI ...... System time
  8924.      %DT ...... System date
  8925.      %KB ...... Keyboard character if avail, else = %(255)
  8926.      %W ....... Forces a pause when macro terminates
  8927.      %(###) ... Generate untypeable ASCII character
  8928.      %var% .... Access an environment variable